formatAsyM method

String formatAsyM([
  1. String? locale
])

Formats the DateTime object using the yM format and optional locale.

Implementation

String formatAsyM([String? locale]) => DateFormat.yM(locale).format(this);