1// generated by diplomat-tool 2import type { Locale } from "./Locale" 3import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 4 5 6/** The various calendar types currently supported by [`Calendar`] 7* 8*See the [Rust documentation for `AnyCalendarKind`](https://docs.rs/icu/latest/icu/calendar/enum.AnyCalendarKind.html) for more information. 9*/ 10 11 12export class AnyCalendarKind { 13 14 15 static fromValue(value : AnyCalendarKind | string) : AnyCalendarKind; 16 17 get value() : string; 18 19 get ffiValue() : number; 20 21 static Iso : AnyCalendarKind; 22 static Gregorian : AnyCalendarKind; 23 static Buddhist : AnyCalendarKind; 24 static Japanese : AnyCalendarKind; 25 static JapaneseExtended : AnyCalendarKind; 26 static Ethiopian : AnyCalendarKind; 27 static EthiopianAmeteAlem : AnyCalendarKind; 28 static Indian : AnyCalendarKind; 29 static Coptic : AnyCalendarKind; 30 static Dangi : AnyCalendarKind; 31 static Chinese : AnyCalendarKind; 32 static Hebrew : AnyCalendarKind; 33 static IslamicCivil : AnyCalendarKind; 34 static IslamicObservational : AnyCalendarKind; 35 static IslamicTabular : AnyCalendarKind; 36 static IslamicUmmAlQura : AnyCalendarKind; 37 static Persian : AnyCalendarKind; 38 static Roc : AnyCalendarKind; 39 40 static getForLocale(locale: Locale): AnyCalendarKind | null; 41 42 static getForBcp47(s: string): AnyCalendarKind | null; 43 44 get bcp47(): string; 45 46 constructor(value: AnyCalendarKind | string ); 47}