year method

  1. @override
String year(
  1. DateTime date
)
override

The year.

In en, this message translates to: '{date}'

Implementation

@override
String year(DateTime date) => DateFormat.y().format(date);