dayMonth method

  1. @override
String dayMonth(
  1. int day,
  2. String month
)
override

A date without its year, as the boarding pass sheet shows it: "Nov 14". month is the text of monthShort. Apps call dayAndMonth(DateTime).

In en, this message translates to: '{month} {day}'

Implementation

@override
String dayMonth(int day, String month) {
  return '$day. $month';
}