changeset 13214:54b3b3dd0eb9

8144349: @since tag missed Reviewed-by: rriggs, scolebourne
author ntv
date Wed, 02 Dec 2015 10:24:54 -0500
parents 416039f8eef1
children 1bc968d8314a 5d0bed389ded
files src/java.base/share/classes/java/time/Clock.java src/java.base/share/classes/java/time/LocalDate.java src/java.base/share/classes/java/time/LocalTime.java
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/time/Clock.java	Wed Dec 02 15:22:50 2015 +0000
+++ b/src/java.base/share/classes/java/time/Clock.java	Wed Dec 02 10:24:54 2015 -0500
@@ -223,6 +223,7 @@
      *
      * @param zone  the time-zone to use to convert the instant to date-time, not null
      * @return a clock that ticks in whole milliseconds using the specified zone, not null
+     * @since 9
      */
     public static Clock tickMillis(ZoneId zone) {
         return new TickClock(system(zone), NANOS_PER_MILLI);
--- a/src/java.base/share/classes/java/time/LocalDate.java	Wed Dec 02 15:22:50 2015 +0000
+++ b/src/java.base/share/classes/java/time/LocalDate.java	Wed Dec 02 10:24:54 2015 -0500
@@ -307,6 +307,7 @@
      * @param zone  the time-zone, which may be an offset, not null
      * @return the local date, not null
      * @throws DateTimeException if the result exceeds the supported range
+     * @since 9
      */
     public static LocalDate ofInstant(Instant instant, ZoneId zone) {
         Objects.requireNonNull(instant, "instant");
--- a/src/java.base/share/classes/java/time/LocalTime.java	Wed Dec 02 15:22:50 2015 +0000
+++ b/src/java.base/share/classes/java/time/LocalTime.java	Wed Dec 02 10:24:54 2015 -0500
@@ -354,6 +354,7 @@
      * @param instant  the instant to create the time from, not null
      * @param zone  the time-zone, which may be an offset, not null
      * @return the local time, not null
+     * @since 9
      */
      public static LocalTime ofInstant(Instant instant, ZoneId zone) {
          Objects.requireNonNull(instant, "instant");