tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DateTimeMismatchedCalendarError.d.ts (1024B)


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