|
ICU4X
International Components for Unicode
|
#include <ICU4XWeekCalculator.hpp>
Public Member Functions | |
| ICU4XIsoWeekday | first_weekday () const |
| uint8_t | min_week_days () const |
| ICU4XWeekendContainsDay | weekend () const |
| ICU4XWeekCalculator (capi::ICU4XWeekCalculator *i) | |
| ICU4XWeekCalculator ()=default | |
| ICU4XWeekCalculator (ICU4XWeekCalculator &&) noexcept=default | |
| ICU4XWeekCalculator & | operator= (ICU4XWeekCalculator &&other) noexcept=default |
Static Public Member Functions | |
| static diplomat::result< ICU4XWeekCalculator, ICU4XError > | create (const ICU4XDataProvider &provider, const ICU4XLocale &locale) |
| static ICU4XWeekCalculator | create_from_first_day_of_week_and_min_week_days (ICU4XIsoWeekday first_weekday, uint8_t min_week_days) |
A Week calculator, useful to be passed in to week_of_year() on Date and DateTime types
See the Rust documentation for WeekCalculator for more information.
|
inlineexplicit |
|
default |
|
defaultnoexcept |
|
inlinestatic |
Creates a new [ICU4XWeekCalculator] from locale data.
See the Rust documentation for try_new for more information.
|
inlinestatic |
|
inline |
Returns the weekday that starts the week for this object's locale
See the Rust documentation for first_weekday for more information.
|
inline |
The minimum number of days overlapping a year required for a week to be considered part of that year
See the Rust documentation for min_week_days for more information.
|
defaultnoexcept |
|
inline |
See the Rust documentation for weekend for more information.