Trait icu::datetime::scaffold::CldrCalendar
source ยท pub trait CldrCalendar: UnstableSealed {
type YearNamesV1Marker: DataMarker<DataStruct = YearNamesV1<'static>>;
type MonthNamesV1Marker: DataMarker<DataStruct = MonthNamesV1<'static>>;
type SkeletaV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>;
}
Expand description
A calendar that can be found in CLDR.
New implementors of this trait will likely also wish to modify get_era_code_map()
in the CLDR transformer to support any new era maps.
๐ง This trait is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. Do not implement this trait in userland.
Required Associated Typesยง
sourcetype YearNamesV1Marker: DataMarker<DataStruct = YearNamesV1<'static>>
type YearNamesV1Marker: DataMarker<DataStruct = YearNamesV1<'static>>
The data marker for loading year symbols for this calendar.
sourcetype MonthNamesV1Marker: DataMarker<DataStruct = MonthNamesV1<'static>>
type MonthNamesV1Marker: DataMarker<DataStruct = MonthNamesV1<'static>>
The data marker for loading month symbols for this calendar.
sourcetype SkeletaV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>
type SkeletaV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>
The data marker for loading skeleton patterns for this calendar.