Trait icu_datetime::neo_marker::DateTimeMarkers
source · pub trait DateTimeMarkers: UnstableSealed + DateTimeNamesMarker {
type D;
type T;
type Z;
type LengthOption: IntoOption<NeoSkeletonLength>;
type AlignmentOption: IntoOption<Alignment>;
type YearStyleOption: IntoOption<YearStyle>;
type FractionalSecondDigitsOption: IntoOption<FractionalSecondDigits>;
type GluePatternV1Marker: DataMarker<DataStruct = GluePatternV1<'static>>;
}
Expand description
A trait associating constants and types implementing various other traits required for datetime formatting.
Required Associated Types§
sourcetype D
type D
Associated types for date formatting.
Should implement DateDataMarkers
, TypedDateDataMarkers
, and DateInputMarkers
.
sourcetype T
type T
Associated types for time formatting.
Should implement TimeMarkers
.
sourcetype Z
type Z
Associated types for time zone formatting.
Should implement ZoneMarkers
.
sourcetype LengthOption: IntoOption<NeoSkeletonLength>
type LengthOption: IntoOption<NeoSkeletonLength>
Type of the length option in the constructor.
sourcetype AlignmentOption: IntoOption<Alignment>
type AlignmentOption: IntoOption<Alignment>
Type of the alignment option in the constructor.
sourcetype YearStyleOption: IntoOption<YearStyle>
type YearStyleOption: IntoOption<YearStyle>
Type of the year style option in the constructor.
sourcetype FractionalSecondDigitsOption: IntoOption<FractionalSecondDigits>
type FractionalSecondDigitsOption: IntoOption<FractionalSecondDigits>
Type of the fractional seconds display option in the constructor.
sourcetype GluePatternV1Marker: DataMarker<DataStruct = GluePatternV1<'static>>
type GluePatternV1Marker: DataMarker<DataStruct = GluePatternV1<'static>>
Marker for loading the date/time glue pattern.