Struct icu_datetime::date::Month [−][src]
Expand description
Representation of a formattable month.
Fields
number: u32
A month number in a year. In normal years, this is usually the 1-based month index. In leap years, this is what the month number would have been in a non-leap year.
For example:
- January = 1
- December = 12
- Adar, Adar I, and Adar II = 6
The code
property is used to distinguish between unique months in leap years.
code: MonthCode
The month code, used to distinguish months during leap years.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Month
impl UnwindSafe for Month
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.