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

ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • 8
    • b68

    Backports

      Description

        The constructors in java.time.zone.ZoneOffsetTransition accept a LocalDateTime as the argument.
        However, the timezone database and the related mechanisms only allow offsets to the second.
        The sub-second (nano) value should be explicitly specified as being ignored.

        Attachments

          Issue Links

            Activity

              People

                plevart Peter Levart
                rriggs Roger Riggs
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: