years method

  1. @override
String years(
  1. int years
)
override

Format when time is about a year

Implementation

@override
String years(int years) => '$years ${_convert(years, 'years')}';