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ยง

source

type YearNamesV1Marker: DataMarker<DataStruct = YearNamesV1<'static>>

The data marker for loading year symbols for this calendar.

source

type MonthNamesV1Marker: DataMarker<DataStruct = MonthNamesV1<'static>>

The data marker for loading month symbols for this calendar.

source

type SkeletaV1Marker: DataMarker<DataStruct = PackedPatternsV1<'static>>

The data marker for loading skeleton patterns for this calendar.

Implementations on Foreign Typesยง

sourceยง

impl CldrCalendar for ()

sourceยง

type YearNamesV1Marker = NeverMarker<YearNamesV1<'static>>

sourceยง

type MonthNamesV1Marker = NeverMarker<MonthNamesV1<'static>>

sourceยง

type SkeletaV1Marker = NeverMarker<PackedPatternsV1<'static>>

sourceยง

impl CldrCalendar for Buddhist

sourceยง

impl CldrCalendar for Chinese

sourceยง

impl CldrCalendar for Coptic

sourceยง

impl CldrCalendar for Dangi

sourceยง

impl CldrCalendar for Ethiopian

sourceยง

impl CldrCalendar for Gregorian

sourceยง

impl CldrCalendar for Hebrew

sourceยง

impl CldrCalendar for Indian

sourceยง

impl CldrCalendar for IslamicCivil

sourceยง

impl CldrCalendar for IslamicObservational

sourceยง

impl CldrCalendar for IslamicTabular

sourceยง

impl CldrCalendar for IslamicUmmAlQura

sourceยง

impl CldrCalendar for Japanese

sourceยง

impl CldrCalendar for JapaneseExtended

sourceยง

impl CldrCalendar for Persian

sourceยง

impl CldrCalendar for Roc

Implementorsยง