Struct icu_calendar::types::Year
source · [−]Expand description
Representation of a formattable year.
Fields
era: Era
The era containing the year.
number: i32
The year number in the current era (usually 1-based).
The related ISO year. This is normally the ISO (proleptic Gregorian) year having the greatest overlap with the calendar year. It is used in certain date formatting patterns.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Year
impl UnwindSafe for Year
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
pub fn filterable(
self,
filter_name: &'static str
) -> RequestFilterDataProvider<T, fn(&DataRequest) -> bool>
Creates a filterable data provider with the given name for debugging. Read more