Trait icu_datetime::neo_marker::ZoneMarkers

source ·
pub trait ZoneMarkers: UnstableSealed {
    type TimeZoneIdInput: IntoOption<TimeZoneBcp47Id>;
    type TimeZoneOffsetInput: IntoOption<UtcOffset>;
    type TimeZoneVariantInput: IntoOption<ZoneVariant>;
    type TimeZoneLocalTimeInput: IntoOption<(Date<Iso>, Time)>;
    type EssentialsV1Marker: DataMarker<DataStruct = TimeZoneEssentialsV1<'static>>;
    type LocationsV1Marker: DataMarker<DataStruct = LocationsV1<'static>>;
    type GenericLongV1Marker: DataMarker<DataStruct = MetazoneGenericNamesV1<'static>>;
    type GenericShortV1Marker: DataMarker<DataStruct = MetazoneGenericNamesV1<'static>>;
    type SpecificLongV1Marker: DataMarker<DataStruct = MetazoneSpecificNamesV1<'static>>;
    type SpecificShortV1Marker: DataMarker<DataStruct = MetazoneSpecificNamesV1<'static>>;
    type MetazonePeriodV1Marker: DataMarker<DataStruct = MetazonePeriodV1<'static>>;
}
Expand description

A trait associating types for time zone formatting (input types and data markers).

Required Associated Types§

source

type TimeZoneIdInput: IntoOption<TimeZoneBcp47Id>

Marker for resolving the time zone id input field.

source

type TimeZoneOffsetInput: IntoOption<UtcOffset>

Marker for resolving the time zone offset input field.

source

type TimeZoneVariantInput: IntoOption<ZoneVariant>

Marker for resolving the time zone variant input field.

source

type TimeZoneLocalTimeInput: IntoOption<(Date<Iso>, Time)>

Marker for resolving the time zone non-location display names, which depend on the datetime.

source

type EssentialsV1Marker: DataMarker<DataStruct = TimeZoneEssentialsV1<'static>>

Marker for loading core time zone data.

source

type LocationsV1Marker: DataMarker<DataStruct = LocationsV1<'static>>

Marker for loading location names for time zone formatting

source

type GenericLongV1Marker: DataMarker<DataStruct = MetazoneGenericNamesV1<'static>>

Marker for loading generic long time zone names.

source

type GenericShortV1Marker: DataMarker<DataStruct = MetazoneGenericNamesV1<'static>>

Marker for loading generic short time zone names.

source

type SpecificLongV1Marker: DataMarker<DataStruct = MetazoneSpecificNamesV1<'static>>

Marker for loading specific long time zone names.

source

type SpecificShortV1Marker: DataMarker<DataStruct = MetazoneSpecificNamesV1<'static>>

Marker for loading generic short time zone names.

source

type MetazonePeriodV1Marker: DataMarker<DataStruct = MetazonePeriodV1<'static>>

Marker for loading metazone periods.

Implementors§

source§

impl ZoneMarkers for NeoNeverMarker

source§

impl ZoneMarkers for NeoTimeZoneSkeleton

source§

impl ZoneMarkers for NeoTimeZoneGenericMarker

source§

impl ZoneMarkers for NeoTimeZoneGenericShortMarker

source§

impl ZoneMarkers for NeoTimeZoneLocationMarker

source§

impl ZoneMarkers for NeoTimeZoneOffsetMarker

source§

impl ZoneMarkers for NeoTimeZoneSpecificMarker

source§

impl ZoneMarkers for NeoTimeZoneSpecificShortMarker