• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { AnyCalendarKind } from "./AnyCalendarKind"
3import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
4
5
6/** See the [Rust documentation for `MismatchedCalendarError`](https://docs.rs/icu/latest/icu/datetime/struct.MismatchedCalendarError.html) for more information.
7*/
8type DateTimeMismatchedCalendarError_obj = {
9    thisKind: AnyCalendarKind;
10    dateKind?: AnyCalendarKind | null;
11};
12
13
14
15export class DateTimeMismatchedCalendarError {
16
17    get thisKind() : AnyCalendarKind;
18    set thisKind(value: AnyCalendarKind);
19
20    get dateKind() : AnyCalendarKind | null;
21    set dateKind(value: AnyCalendarKind | null);
22
23    /** Create `DateTimeMismatchedCalendarError` from an object that contains all of `DateTimeMismatchedCalendarError`s fields.
24    * Optional fields do not need to be included in the provided object.
25    */
26    static fromFields(structObj : DateTimeMismatchedCalendarError_obj) : DateTimeMismatchedCalendarError;
27
28
29    constructor(structObj : DateTimeMismatchedCalendarError_obj);
30}