8144349: @since tag missed

Reviewed-by: rriggs, scolebourne
This commit is contained in:
Nadeesh TV 2015-12-02 10:24:54 -05:00
parent 29582aaee4
commit 96842473fa
3 changed files with 3 additions and 0 deletions

View file

@ -223,6 +223,7 @@ public abstract class Clock {
* *
* @param zone the time-zone to use to convert the instant to date-time, not null * @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 * @return a clock that ticks in whole milliseconds using the specified zone, not null
* @since 9
*/ */
public static Clock tickMillis(ZoneId zone) { public static Clock tickMillis(ZoneId zone) {
return new TickClock(system(zone), NANOS_PER_MILLI); return new TickClock(system(zone), NANOS_PER_MILLI);

View file

@ -307,6 +307,7 @@ public final class LocalDate
* @param zone the time-zone, which may be an offset, not null * @param zone the time-zone, which may be an offset, not null
* @return the local date, not null * @return the local date, not null
* @throws DateTimeException if the result exceeds the supported range * @throws DateTimeException if the result exceeds the supported range
* @since 9
*/ */
public static LocalDate ofInstant(Instant instant, ZoneId zone) { public static LocalDate ofInstant(Instant instant, ZoneId zone) {
Objects.requireNonNull(instant, "instant"); Objects.requireNonNull(instant, "instant");

View file

@ -354,6 +354,7 @@ public final class LocalTime
* @param instant the instant to create the time from, not null * @param instant the instant to create the time from, not null
* @param zone the time-zone, which may be an offset, not null * @param zone the time-zone, which may be an offset, not null
* @return the local time, not null * @return the local time, not null
* @since 9
*/ */
public static LocalTime ofInstant(Instant instant, ZoneId zone) { public static LocalTime ofInstant(Instant instant, ZoneId zone) {
Objects.requireNonNull(instant, "instant"); Objects.requireNonNull(instant, "instant");