Trait icu_datetime::neo_marker::TimeMarkers

source ·
pub trait TimeMarkers: UnstableSealed {
    type HourInput: IntoOption<IsoHour>;
    type MinuteInput: IntoOption<IsoMinute>;
    type SecondInput: IntoOption<IsoSecond>;
    type NanoSecondInput: IntoOption<NanoSecond>;
    type TimeSkeletonPatternsV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>;
    type DayPeriodNamesV1Marker: DataMarker<DataStruct = LinearNamesV1<'static>>;
}
Expand description

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

Required Associated Types§

source

type HourInput: IntoOption<IsoHour>

Marker for resolving the day-of-month input field.

source

type MinuteInput: IntoOption<IsoMinute>

Marker for resolving the day-of-week input field.

source

type SecondInput: IntoOption<IsoSecond>

Marker for resolving the day-of-year input field.

source

type NanoSecondInput: IntoOption<NanoSecond>

Marker for resolving the any-calendar-kind input field.

source

type TimeSkeletonPatternsV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>

Marker for loading time skeleton patterns.

source

type DayPeriodNamesV1Marker: DataMarker<DataStruct = LinearNamesV1<'static>>

Marker for loading day period names.

Implementors§

source§

impl TimeMarkers for NeoNeverMarker

source§

impl TimeMarkers for NeoTimeSkeleton

source§

impl TimeMarkers for NeoAutoTimeMarker

source§

impl TimeMarkers for NeoHourMinuteMarker

source§

impl TimeMarkers for NeoHourMinuteSecondMarker