solarYear property

int solarYear

Implementation

int get solarYear => _solarYear;
void solarYear=(int v)

Implementation

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