formatYearMonth static method

String formatYearMonth(
  1. DateTime? t
)

Implementation

static String formatYearMonth(DateTime? t) {
  t = t?.toLocal();
  return t == null ? "" : "${t.year}年${t.month}月";
}