decade top-level constant

TimeAgoStep const decade

Ten-year unit using Unicode CLDR 48.1 Italian duration labels.

Implementation

const TimeAgoStep decade = TimeAgoStep.customUnit(
  TimeAgoCustomUnitTranslation(
    unit: TimeAgoUnit.year,
    unitMultiplier: 10,
    units: TimeAgoFormatSet(
      long: TimeAgoPluralLabels.oneOther(
        one: '{0} decade',
        other: '{0} decadi',
      ),
      short: TimeAgoPluralLabels.same('{0} dec.'),
      narrow: TimeAgoPluralLabels.same('{0}dec.'),
    ),
  ),
);