namespace icu4x { /** *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.
*/ class WeekInformation {
public:
/** *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.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::WeekInformation>, icu4x::DataError> create(const icu4x::Locale& locale);
/** *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.
*/ inlinestatic icu4x::diplomat::result<std::unique_ptr<icu4x::WeekInformation>, icu4x::DataError> create_with_provider(const icu4x::DataProvider& provider, const icu4x::Locale& locale);
/** *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.
*/ inline icu4x::Weekday first_weekday() const;
/** *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.
*/ inlinebool is_weekend(icu4x::Weekday day) const;
/** *Seethe[Rustdocumentationfor`weekend`](https://docs.rs/icu/2.1.1/icu/calendar/week/struct.WeekInformation.html#method.weekend) for more information.
*/ inline std::unique_ptr<icu4x::WeekdaySetIterator> weekend() const;
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.