// generated by diplomat-tool import type { DataError } from "./DataError" import type { DataProvider } from "./DataProvider" import type { Locale } from "./Locale" import type { Weekday } from "./Weekday" import type { WeekdaySetIterator } from "./WeekdaySetIterator" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *AWeekcalculator,usefultobepassedinto`week_of_year()`onDateandDateTimetypes * *Seethe[Rustdocumentationfor`WeekInformation`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html) for more information.
*/
export class WeekInformation { /** @internal */
get ffiValue(): pointer;
/** *Createsanew{@linkWeekInformation}fromlocaledatausingaparticulardatasource. * *Seethe[Rustdocumentationfor`try_new`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html#method.try_new) for more information.
*/ static createWithProvider(provider: DataProvider, locale: Locale): WeekInformation;
/** *Returnstheweekdaythatstartstheweekforthisobject'slocale * *Seethe[Rustdocumentationfor`first_weekday`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html#structfield.first_weekday) for more information.
*/
get firstWeekday(): Weekday;
/** *Seethe[Rustdocumentationfor`weekend`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html#structfield.weekend) for more information. * *Seethe[Rustdocumentationfor`contains`](https://docs.rs/icu/2.1.1/icu/calendar/provider/struct.WeekdaySet.html#method.contains) for more information.
*/
isWeekend(day: Weekday): boolean;
/** *Seethe[Rustdocumentationfor`weekend`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html#method.weekend) for more information.
*/
get weekend(): WeekdaySetIterator;
/** *Createsanew{@linkWeekInformation}fromlocaledatausingcompileddata. * *Seethe[Rustdocumentationfor`try_new`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html#method.try_new) for more information.
*/
constructor(locale: Locale);
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet am 2026-08-25)
¤
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.