docs: @SuppressWarnings("deprecation")
      public Date toDate() {
          int dom = getDayOfMonth();
          Date date = new Date(getYear() - 1900, getMonthOfYear() - 1, dom,
                          getHourOfDay(), getMinuteOfHour(), getSecondOfMinute());
          date.setTime(date.getTime() + getMillisOfSecond());
          return correctDstTransition(date, TimeZone.getDefault());
      }