| // generated by diplomat-tool |
| import type { AnyCalendarKind } from "./AnyCalendarKind" |
| import type { DataError } from "./DataError" |
| import type { DataProvider } from "./DataProvider" |
| import type { Locale } from "./Locale" |
| import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; |
| |
| |
| /** See the [Rust documentation for `AnyCalendar`](https://docs.rs/icu/latest/icu/calendar/enum.AnyCalendar.html) for more information. |
| */ |
| |
| |
| export class Calendar { |
| |
| get ffiValue(): pointer; |
| |
| static createForLocale(locale: Locale): Calendar; |
| |
| static createForKind(kind: AnyCalendarKind): Calendar; |
| |
| static createForLocaleWithProvider(provider: DataProvider, locale: Locale): Calendar; |
| |
| static createForKindWithProvider(provider: DataProvider, kind: AnyCalendarKind): Calendar; |
| |
| get kind(): AnyCalendarKind; |
| } |