getFestivals method

List<String> getFestivals()

Implementation

List<String> getFestivals() {
  List<String> l = <String>[];
  String? f = LunarUtil.FESTIVAL['$_month-$_day'];
  if (null != f) {
    l.add(f);
  }
  if (_month.abs() == 12 && _day >= 29 && _year != next(1).getYear()) {
    l.add('除夕');
  }
  return l;
}