# | Line 102 | Line 102 | public enum TimeUnit { | |
---|---|---|
102 | ||
103 | /** | |
104 | * Time unit representing sixty seconds | |
105 | + | * @since 1.6 |
106 | */ | |
107 | MINUTES { | |
108 | public long toNanos(long d) { return x(d, C4/C0, MAX/(C4/C0)); } | |
# | Line 117 | Line 118 | public enum TimeUnit { | |
118 | ||
119 | /** | |
120 | * Time unit representing sixty minutes | |
121 | + | * @since 1.6 |
122 | */ | |
123 | HOURS { | |
124 | public long toNanos(long d) { return x(d, C5/C0, MAX/(C5/C0)); } | |
# | Line 132 | Line 134 | public enum TimeUnit { | |
134 | ||
135 | /** | |
136 | * Time unit representing twenty four hours | |
137 | + | * @since 1.6 |
138 | */ | |
139 | DAYS { | |
140 | public long toNanos(long d) { return x(d, C6/C0, MAX/(C6/C0)); } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |