TimeZoneVariant.d.ts (982B)
1 // generated by diplomat-tool 2 import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 3 4 5 6 export class TimeZoneVariant { 7 8 static fromValue(value: TimeZoneVariant | string): TimeZoneVariant; 9 10 get value(): string; 11 12 get ffiValue(): number; 13 14 static Standard : TimeZoneVariant; 15 static Daylight : TimeZoneVariant; 16 17 18 /** 19 * Sets the `variant` field to "daylight" time. 20 * 21 * See the [Rust documentation for `from_rearguard_isdst`](https://docs.rs/icu/latest/icu/time/zone/enum.TimeZoneVariant.html#method.from_rearguard_isdst) for more information. 22 * 23 * See the [Rust documentation for `with_variant`](https://docs.rs/icu/latest/icu/time/struct.TimeZoneInfo.html#method.with_variant) for more information. 24 * 25 * Additional information: [1](https://docs.rs/icu/latest/icu/time/zone/enum.TimeZoneVariant.html) 26 */ 27 fromRearguardIsdst(isdst: boolean): TimeZoneVariant; 28 29 constructor(value: TimeZoneVariant | string ); 30 }