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

ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: