1// generated by diplomat-tool 2import type { Calendar } from "./Calendar" 3import type { CalendarParseError } from "./CalendarParseError" 4import type { Date } from "./Date" 5import type { IanaParser } from "./IanaParser" 6import type { Time } from "./Time" 7import type { TimeZoneInfo } from "./TimeZoneInfo" 8import type { UtcOffsetCalculator } from "./UtcOffsetCalculator" 9import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 10 11 12/** An ICU4X DateTime object capable of containing a date, time, and zone for any calendar. 13* 14*See the [Rust documentation for `ZonedDateTime`](https://docs.rs/icu/latest/icu/time/struct.ZonedDateTime.html) for more information. 15*/ 16 17 18export class ZonedDateTime { 19 20 get date() : Date; 21 22 get time() : Time; 23 24 get zone() : TimeZoneInfo; 25 26 27 static fromString(v: string, calendar: Calendar, ianaParser: IanaParser, offsetCalculator: UtcOffsetCalculator): ZonedDateTime; 28 29 static locationOnlyFromString(v: string, calendar: Calendar, ianaParser: IanaParser): ZonedDateTime; 30 31 static offsetOnlyFromString(v: string, calendar: Calendar): ZonedDateTime; 32 33 static looseFromString(v: string, calendar: Calendar, ianaParser: IanaParser): ZonedDateTime; 34}