ICU4X
International Components for Unicode
|
#include <WeekInformation.d.hpp>
Public Member Functions | |
icu4x::Weekday | first_weekday () const |
bool | is_weekend (icu4x::Weekday day) const |
std::unique_ptr< icu4x::WeekdaySetIterator > | weekend () const |
Static Public Member Functions | |
static diplomat::result< std::unique_ptr< icu4x::WeekInformation >, icu4x::DataError > | create (const icu4x::Locale &locale) |
static diplomat::result< std::unique_ptr< icu4x::WeekInformation >, icu4x::DataError > | create_with_provider (const icu4x::DataProvider &provider, const icu4x::Locale &locale) |
static void | operator delete (void *ptr) |
A Week calculator, useful to be passed in to week_of_year()
on Date and DateTime types
See the Rust documentation for WeekInformation
for more information.
|
inlinestatic |
Creates a new WeekInformation
from locale data using compiled data.
See the Rust documentation for try_new
for more information.
|
inlinestatic |
Creates a new WeekInformation
from locale data using a particular data source.
See the Rust documentation for try_new
for more information.
|
inline |
Returns the weekday that starts the week for this object's locale
See the Rust documentation for first_weekday
for more information.
|
inline |
See the Rust documentation for weekend
for more information.
See the Rust documentation for contains
for more information.
|
inlinestatic |
|
inline |
See the Rust documentation for weekend
for more information.