Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4046474

API: Retrieve start/end dates from daylight saving time of a SimpleTimeZone

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.1
    • core-libs

      I think there is a missing feature (in my opinion a bug) in the
      SimpleTimeZone class. There is no natural way the get the start and end
      dates from the daylight saving time of a SimpleTimeZone. I want to have
      something like (maybe throwing an exception in case no DST is used):

      public int getStartYear();
      public int getStartDayOfWeekInMonth();
      public int getStartDayOfWeek();
      public int getStartMonth();
      public int getStartTime();
      public int getEndDayOfWeekInMonth();
      public int getEndDayOfWeek();
      public int getEndMonth();
      public int getEndTime();

            okutsu Masayoshi Okutsu
            sgoodsunw Sheri Good (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: