years property
int
get
years
The number of whole years spanned by the months
component of this
DateDuration.
Implementation
int get years {
return _months ~/ 12;
}
The number of whole years spanned by the months
component of this
DateDuration.
int get years {
return _months ~/ 12;
}