shortYear property

int shortYear

Returns the short version of year.

Implementation

int get shortYear {
  //todo: ask someone
  if (_year >= 1300 && _year < 1400) {
    return int.parse(_year.toString().substring(2)); //1375 -> 75
  } else {
    return _year; //85 -> 85, 1000 -> 1000
  }
}