// generated by diplomat-tool import type { Calendar } from "./Calendar" import type { Date } from "./Date" import type { IanaParser } from "./IanaParser" import type { Rfc9557ParseError } from "./Rfc9557ParseError" import type { Time } from "./Time" import type { TimeZoneInfo } from "./TimeZoneInfo" import type { VariantOffsetsCalculator } from "./VariantOffsetsCalculator" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *AnICU4XDateTimeobjectcapableofcontainingadate,time,andzoneforanycalendar. * *Seethe[Rustdocumentationfor`ZonedDateTime`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html) for more information.
*/
export class ZonedDateTime {
get date(): Date;
get time(): Time;
get zone(): TimeZoneInfo; /** @internal */
constructor();
/** *Createsanew{@linkZonedIsoDateTime}fromanIXDTFstring. * *Seethe[Rustdocumentationfor`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, calendar: Calendar, ianaParser: IanaParser): ZonedDateTime;
/** *Createsanew{@linkZonedDateTime}fromanIXDTFstring. * *Seethe[Rustdocumentationfor`try_full_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.try_full_from_str) for more information. * *@deprecatedusestrict_from_string
*/ static fullFromString(v: string, calendar: Calendar, ianaParser: IanaParser, offsetCalculator: VariantOffsetsCalculator): ZonedDateTime;
/** *Createsanew{@linkZonedDateTime}fromalocation-onlyIXDTFstring. * *Seethe[Rustdocumentationfor`try_location_only_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.try_location_only_from_str) for more information.
*/ static locationOnlyFromString(v: string, calendar: Calendar, ianaParser: IanaParser): ZonedDateTime;
/** *Createsanew{@linkZonedDateTime}fromanoffset-onlyIXDTFstring. * *Seethe[Rustdocumentationfor`try_offset_only_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.try_offset_only_from_str) for more information.
*/ static offsetOnlyFromString(v: string, calendar: Calendar): ZonedDateTime;
/** *Createsanew{@linkZonedDateTime}fromanIXDTFstring,withoutrequiringtheoffset. * *Seethe[Rustdocumentationfor`try_lenient_from_str`](https://docs.rs/icu/2.1.1/icu/time/struct.ZonedDateTime.html#method.try_lenient_from_str) for more information.
*/ static lenientFromString(v: string, calendar: Calendar, ianaParser: IanaParser): ZonedDateTime;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.