• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { CalendarParseError } from "./CalendarParseError"
3import type { IanaParser } from "./IanaParser"
4import type { IsoDate } from "./IsoDate"
5import type { Time } from "./Time"
6import type { TimeZoneInfo } from "./TimeZoneInfo"
7import type { UtcOffsetCalculator } from "./UtcOffsetCalculator"
8import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
9
10
11/** An ICU4X ZonedDateTime object capable of containing a ISO-8601 date, time, and zone.
12*
13*See the [Rust documentation for `ZonedDateTime`](https://docs.rs/icu/latest/icu/time/struct.ZonedDateTime.html) for more information.
14*/
15
16
17export class ZonedIsoDateTime {
18
19    get date() : IsoDate;
20
21    get time() : Time;
22
23    get zone() : TimeZoneInfo;
24
25
26    static fromString(v: string, ianaParser: IanaParser, offsetCalculator: UtcOffsetCalculator): ZonedIsoDateTime;
27}