// generated by diplomat-tool import type { IsoDate } from "./IsoDate" import type { Rfc9557ParseError } from "./Rfc9557ParseError" import type { Time } from "./Time" import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; /** * An ICU4X DateTime object capable of containing a ISO-8601 date and time. * * See the [Rust documentation for `DateTime`](https://docs.rs/icu/2.1.1/icu/time/struct.DateTime.html) for more information. */ export class IsoDateTime { get date(): IsoDate; get time(): Time; /** @internal */ constructor(); /** * Creates a new {@link IsoDateTime} from an IXDTF string. * * See the [Rust documentation for `try_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.DateTime.html#method.try_from_str) for more information. */ static fromString(v: string): IsoDateTime; }