8072456: @since tags missing from TimeUnit
Reviewed-by: alanb, martin
This commit is contained in:
parent
61473e39ce
commit
80a1d2bba8
@ -131,6 +131,7 @@ public enum TimeUnit {
|
||||
|
||||
/**
|
||||
* Time unit representing sixty seconds
|
||||
* @since 1.6
|
||||
*/
|
||||
MINUTES {
|
||||
public long toNanos(long d) { return x(d, C4/C0, MAX/(C4/C0)); }
|
||||
@ -146,6 +147,7 @@ public enum TimeUnit {
|
||||
|
||||
/**
|
||||
* Time unit representing sixty minutes
|
||||
* @since 1.6
|
||||
*/
|
||||
HOURS {
|
||||
public long toNanos(long d) { return x(d, C5/C0, MAX/(C5/C0)); }
|
||||
@ -161,6 +163,7 @@ public enum TimeUnit {
|
||||
|
||||
/**
|
||||
* Time unit representing twenty four hours
|
||||
* @since 1.6
|
||||
*/
|
||||
DAYS {
|
||||
public long toNanos(long d) { return x(d, C6/C0, MAX/(C6/C0)); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user