lunarMonthString property
String
get
lunarMonthString
Implementation
String get lunarMonthString {
String result = "";
if (lunarMonth < 1 || lunarMonth > 12) {
result = "非法日期";
}
String month = _lunarMonthList[lunarMonth - 1];
String leap = isLeap ? "闰" : "";
result = "$leap$month月";
return result;
}