ZoneOffsetTransitionRule.of should throw IAE for non-zero nanoseconds

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

              Assignee:
              Peter Levart
              Reporter:
              Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: