@Override
  public DateTimeValueRange range(DateTimeField field) {

    if (field == YEAR_OF_ERA) {
      return (getYear() <= 0 ? DateTimeValueRange.of(1, LocalDate.MAX_YEAR + 1) : DateTimeValueRange.of(1,
          LocalDate.MAX_YEAR));
    }
    return super.range(field);
  }