titleOfNextMonth method

String titleOfNextMonth(
  1. String dateStr
)

下个月的名字

Implementation

String titleOfNextMonth(String dateStr) {
  DateTime date = PWSDateTimeService.dateFromMonthString(dateStr);
  DateTime preDate = getLastMonth(date);
  return PWSDateTimeService.stringFromDate(preDate, 'yyyy年MM月');
}