// generated by diplomat-tool import type { IanaParser } from "./IanaParser" import type { IsoDate } from "./IsoDate" import type { Rfc9557ParseError } from "./Rfc9557ParseError" import type { Time } from "./Time" import type { TimeZoneInfo } from "./TimeZoneInfo" import type { UtcOffset } from "./UtcOffset" import type { VariantOffsetsCalculator } from "./VariantOffsetsCalculator" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * An ICU4X ZonedDateTime object capable of containing a ISO-8601 date, time, and zone. * * See the [Rust documentation for `ZonedDateTime`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html) for more information. */ export class ZonedIsoDateTime { get date(): IsoDate; get time(): Time; get zone(): TimeZoneInfo; /** @internal */ constructor(); /** * Creates a new {@link ZonedIsoDateTime} from an IXDTF string. * * See the [Rust documentation for `try_strict_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.try_strict_from_str) for more information. */ static strictFromString(v: string, ianaParser: IanaParser): ZonedIsoDateTime; /** * Creates a new {@link ZonedIsoDateTime} from an IXDTF string. * * See the [Rust documentation for `try_full_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.try_full_from_str) for more information. * * @deprecated use strict_from_string */ static fullFromString(v: string, ianaParser: IanaParser, offsetCalculator: VariantOffsetsCalculator): ZonedIsoDateTime; /** * Creates a new {@link ZonedIsoDateTime} from milliseconds since epoch (timestamp) and a UTC offset. * * Note: {@link ZonedIsoDateTime}s created with this constructor can only be formatted using localized offset zone styles. * * See the [Rust documentation for `from_epoch_milliseconds_and_utc_offset`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.from_epoch_milliseconds_and_utc_offset) for more information. */ static fromEpochMillisecondsAndUtcOffset(epochMilliseconds: bigint, utcOffset: UtcOffset): ZonedIsoDateTime; }