monthName static method

String monthName(
  1. int month
)

Returns the Chinese name for the given month (1-12).

Implementation

static String monthName(int month) {
  const names = [
    '',
    '一月',
    '二月',
    '三月',
    '四月',
    '五月',
    '六月',
    '七月',
    '八月',
    '九月',
    '十月',
    '十一月',
    '十二月',
  ];
  return names[month];
}