1// generated by diplomat-tool 2import type { DataProvider } from "./DataProvider" 3import type { DateTimeFormatError } from "./DateTimeFormatError" 4import type { DateTimeFormatterLoadError } from "./DateTimeFormatterLoadError" 5import type { DateTimeLength } from "./DateTimeLength" 6import type { IsoDate } from "./IsoDate" 7import type { Locale } from "./Locale" 8import type { Time } from "./Time" 9import type { TimeZoneInfo } from "./TimeZoneInfo" 10import type { pointer, codepoint } from "./diplomat-runtime.d.ts"; 11 12 13/** An object capable of formatting a date time with time zone to a string. 14* 15*See the [Rust documentation for `FixedCalendarDateTimeFormatter`](https://docs.rs/icu/latest/icu/datetime/struct.FixedCalendarDateTimeFormatter.html) for more information. 16* 17*Additional information: [1](https://docs.rs/icu/latest/icu/datetime/fieldsets/struct.YMDT.html), [2](https://docs.rs/icu/latest/icu/datetime/fieldsets/zone/struct.GenericShort.html) 18*/ 19 20 21export class GregorianZonedDateTimeFormatter { 22 23 get ffiValue(): pointer; 24 25 static createWithLength(locale: Locale, length: DateTimeLength): GregorianZonedDateTimeFormatter; 26 27 static createWithLengthAndProvider(provider: DataProvider, locale: Locale, length: DateTimeLength): GregorianZonedDateTimeFormatter; 28 29 formatIso(date: IsoDate, time: Time, zone: TimeZoneInfo): string; 30}