lunarYear property

int get lunarYear

Implementation

int get lunarYear => _lunarYear;
set lunarYear (int v)

Implementation

set lunarYear(int v) {
  if (v == 0) {
    //规定公元 0 年即公元前 1 年
    v = -1;
  }
  _lunarYear = v;
}