// generated by diplomat-tool import type { DataProvider } from "./DataProvider" import type { DateTimeAlignment } from "./DateTimeAlignment" import type { DateTimeFormatterLoadError } from "./DateTimeFormatterLoadError" import type { DateTimeLength } from "./DateTimeLength" import type { Locale } from "./Locale" import type { Time } from "./Time" import type { TimePrecision } from "./TimePrecision" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *Seethe[Rustdocumentationfor`NoCalendarFormatter`](https://docs.rs/icu/2.1.1/icu/datetime/type.NoCalendarFormatter.html) for more information.
*/
export class TimeFormatter { /** @internal */
get ffiValue(): pointer;
/** *Seethe[Rustdocumentationfor`try_new`](https://docs.rs/icu/2.1.1/icu/datetime/type.NoCalendarFormatter.html#method.try_new) for more information. * *Seethe[Rustdocumentationfor`T`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html#method.with_time_precision), [2](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html#method.with_alignment), [3](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html#method.for_length)
*/ static createWithProvider(provider: DataProvider, locale: Locale, length: DateTimeLength | null, timePrecision: TimePrecision | null, alignment: DateTimeAlignment | null): TimeFormatter;
/** *Seethe[Rustdocumentationfor`format`](https://docs.rs/icu/2.1.1/icu/datetime/type.NoCalendarFormatter.html#method.format) for more information.
*/
format(time: Time): string;
/** *Seethe[Rustdocumentationfor`try_new`](https://docs.rs/icu/2.1.1/icu/datetime/type.NoCalendarFormatter.html#method.try_new) for more information. * *Seethe[Rustdocumentationfor`T`](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html#method.with_time_precision), [2](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html#method.with_alignment), [3](https://docs.rs/icu/2.1.1/icu/datetime/fieldsets/struct.T.html#method.for_length)
*/
constructor(locale: Locale, length: DateTimeLength | null, timePrecision: TimePrecision | null, alignment: DateTimeAlignment | null);
}
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.