--- old/src/java.base/share/classes/java/time/Duration.java 2016-01-05 22:00:23.361149740 +0300 +++ new/src/java.base/share/classes/java/time/Duration.java 2016-01-05 22:00:23.134149740 +0300 @@ -1194,6 +1194,7 @@ * This instance is immutable and unaffected by this method call. * * @return the whole seconds part of the length of the duration, positive or negative + * @since 9 */ public long toSeconds() { return seconds; @@ -1243,6 +1244,7 @@ * This instance is immutable and unaffected by this method call. * * @return the number of days in the duration, may be negative + * @since 9 */ public long toDaysPart(){ return seconds / SECONDS_PER_DAY; @@ -1258,6 +1260,7 @@ * This instance is immutable and unaffected by this method call. * * @return the number of hours part in the duration, may be negative + * @since 9 */ public int toHoursPart(){ return (int) (toHours() % 24); @@ -1273,7 +1276,7 @@ * This instance is immutable and unaffected by this method call. * * @return the number of minutes parts in the duration, may be negative - * may be negative + * @since 9 */ public int toMinutesPart(){ return (int) (toMinutes() % MINUTES_PER_HOUR); @@ -1289,6 +1292,7 @@ * This instance is immutable and unaffected by this method call. * * @return the number of seconds parts in the duration, may be negative + * @since 9 */ public int toSecondsPart(){ return (int) (seconds % SECONDS_PER_MINUTE); @@ -1306,6 +1310,7 @@ * This instance is immutable and unaffected by this method call. * * @return the number of milliseconds part of the duration. + * @since 9 */ public int toMillisPart(){ return nanos / 1000_000; @@ -1322,6 +1327,7 @@ * This instance is immutable and unaffected by this method call. * * @return the nanoseconds within the second part of the length of the duration, from 0 to 999,999,999 + * @since 9 */ public int toNanosPart(){ return nanos;