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

Remove Amman/Cairo hacks in ZoneInfoFile

XMLWordPrintable

    • b19
    • generic
    • generic

        There's a piece of hacks in sun/util/calendar/ZoneInfoFile.java, to tweak endOfDay rules for Asia/Amman and Africa/Cairo. These hacks are no longer needed as secondOfDay holds correct values, even beyond the end of day. It is a leftover of JDK-8212970.
        In fact, the hacks would be problematic, say if Jordan had a DST starting rule at "lastFri & startTime= 0:00", it would be incorrectly translated into "lastThu & startTime=24:00"

              naoto Naoto Sato
              naoto Naoto Sato
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: