getYears method
Implementation
@override
String getYears(int years) {
if (years == 0) {
return '';
} else if (years == 1) {
return 'one year';
} else if (years == 2) {
return 'two years';
} else {
return '$years years';
}
}