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).

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.

Implementations on Foreign Types§

source§

impl TimeMarkers for ()

Implementors§

source§

impl TimeMarkers for TimeFieldSet

source§

impl TimeMarkers for DET

source§

impl TimeMarkers for DT

source§

impl TimeMarkers for ET

source§

impl TimeMarkers for MDET

source§

impl TimeMarkers for MDT

source§

impl TimeMarkers for T

source§

impl TimeMarkers for YMDET

source§

impl TimeMarkers for YMDT