// generated by diplomat-tool import type { AnyCalendarKind } from "./AnyCalendarKind" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** See the [Rust documentation for `MismatchedCalendarError`](https://docs.rs/icu/latest/icu/datetime/struct.MismatchedCalendarError.html) for more information. */ type DateTimeMismatchedCalendarError_obj = { thisKind: AnyCalendarKind; dateKind?: AnyCalendarKind | null; }; export class DateTimeMismatchedCalendarError { get thisKind() : AnyCalendarKind; set thisKind(value: AnyCalendarKind); get dateKind() : AnyCalendarKind | null; set dateKind(value: AnyCalendarKind | null); /** Create `DateTimeMismatchedCalendarError` from an object that contains all of `DateTimeMismatchedCalendarError`s fields. * Optional fields do not need to be included in the provided object. */ static fromFields(structObj : DateTimeMismatchedCalendarError_obj) : DateTimeMismatchedCalendarError; constructor(structObj : DateTimeMismatchedCalendarError_obj); }