year property

int get year

Returns the year number in the current era for this date

For calendars without an era, returns the extended year

See the Rust documentation for year for more information.

Implementation

int get year {
  final result = _icu4x_IsoDate_year_mv1(_ffi);
  return result;
}