year property
The year.
var covid19Confirmed = EtDatetime.parse("2012-07-04 13:18:04Z");
assert(covid19Confirmed.year == 2012);
Implementation
int get year => ((4 * (fixed - _ethiopicEpoch) + 1463) ~/ 1461);
The year.
var covid19Confirmed = EtDatetime.parse("2012-07-04 13:18:04Z");
assert(covid19Confirmed.year == 2012);
int get year => ((4 * (fixed - _ethiopicEpoch) + 1463) ~/ 1461);