blob: 3f9273c737b06bc77069bc33ea3e3aff7422f5bc [file] [log] [blame]
// 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;
}