Trait icu::datetime::date::LocalizedDateTimeInput [−][src]
pub trait LocalizedDateTimeInput<T> where
T: DateTimeInput, { pub fn datetime(&self) -> &T; pub fn year_week(&self) -> Year; pub fn week_of_month(&self) -> WeekOfMonth; pub fn week_of_year(&self) -> WeekOfYear; pub fn flexible_day_period(&self); }
A formattable calendar date and ISO time that takes the locale into account.
Required methods
pub fn datetime(&self) -> &T
[src]
A reference to this instance’s DateTimeInput
.
pub fn year_week(&self) -> Year
[src]
The year number according to week numbering.
For example, December 31, 2020 is part of the first week of 2021.
pub fn week_of_month(&self) -> WeekOfMonth
[src]
The week of the month according to UTS 35.
pub fn week_of_year(&self) -> WeekOfYear
[src]
The week number of the year.
For example, December 31, 2020 is part of the first week of 2021.
pub fn flexible_day_period(&self)
[src]
TODO(#487): Implement flexible day periods.