• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { AnyCalendarKind } from "./AnyCalendarKind"
3import type { DataError } from "./DataError"
4import type { DataProvider } from "./DataProvider"
5import type { Locale } from "./Locale"
6import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
7
8
9/** See the [Rust documentation for `AnyCalendar`](https://docs.rs/icu/latest/icu/calendar/enum.AnyCalendar.html) for more information.
10*/
11
12
13export class Calendar {
14
15    get ffiValue(): pointer;
16
17    static createForLocale(locale: Locale): Calendar;
18
19    static createForKind(kind: AnyCalendarKind): Calendar;
20
21    static createForLocaleWithProvider(provider: DataProvider, locale: Locale): Calendar;
22
23    static createForKindWithProvider(provider: DataProvider, kind: AnyCalendarKind): Calendar;
24
25    get kind(): AnyCalendarKind;
26}