Trait icu_datetime::scaffold::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 ZoneFieldSet

source§

impl ZoneMarkers for NeoNeverMarker

source§

impl ZoneMarkers for L

source§

impl ZoneMarkers for O

source§

impl ZoneMarkers for V

source§

impl ZoneMarkers for Vs

source§

impl ZoneMarkers for Z

source§

impl ZoneMarkers for Zs