Trait icu_datetime::neo_marker::DateTimeMarkers
source · pub trait DateTimeMarkers: Sealed + DateTimeNamesMarker {
type D;
type T;
type Z;
type LengthOption: Into<Option<NeoSkeletonLength>>;
type AlignmentOption: Into<Option<Alignment>>;
type EraDisplayOption: Into<Option<EraDisplay>>;
type FractionalSecondDigitsOption: Into<Option<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: Into<Option<NeoSkeletonLength>>
type LengthOption: Into<Option<NeoSkeletonLength>>
Type of the length option in the constructor.
sourcetype AlignmentOption: Into<Option<Alignment>>
type AlignmentOption: Into<Option<Alignment>>
Type of the alignment option in the constructor.
sourcetype EraDisplayOption: Into<Option<EraDisplay>>
type EraDisplayOption: Into<Option<EraDisplay>>
Type of the era display option in the constructor.
sourcetype FractionalSecondDigitsOption: Into<Option<FractionalSecondDigits>>
type FractionalSecondDigitsOption: Into<Option<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.