Trait icu::datetime::scaffold::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).
This is a sealed trait implemented on field set markers.
Required Associated Types§
sourcetype HourInput: IntoOption<IsoHour>
type HourInput: IntoOption<IsoHour>
Marker for resolving the day-of-month input field.
sourcetype MinuteInput: IntoOption<IsoMinute>
type MinuteInput: IntoOption<IsoMinute>
Marker for resolving the day-of-week input field.
sourcetype SecondInput: IntoOption<IsoSecond>
type SecondInput: IntoOption<IsoSecond>
Marker for resolving the day-of-year input field.
sourcetype NanoSecondInput: IntoOption<NanoSecond>
type NanoSecondInput: IntoOption<NanoSecond>
Marker for resolving the any-calendar-kind input field.
sourcetype TimeSkeletonPatternsV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>
type TimeSkeletonPatternsV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>
Marker for loading time skeleton patterns.
sourcetype DayPeriodNamesV1Marker: DataMarker<DataStruct = LinearNamesV1<'static>>
type DayPeriodNamesV1Marker: DataMarker<DataStruct = LinearNamesV1<'static>>
Marker for loading day period names.