ordinalMonth property

int get ordinalMonth

Returns 1-indexed number of the month of this date in its year

Note that for lunar calendars this may not lead to the same month having the same ordinal month across years; use month_code if you care about month identity.

See the Rust documentation for month for more information.

See the Rust documentation for ordinal for more information.

Implementation

int get ordinalMonth {
  final result = _icu4x_Date_ordinal_month_mv1(_ffi);
  return result;
}