216 |
|
* or <tt>Long.MIN_VALUE</tt> if conversion would negatively |
217 |
|
* overflow, or <tt>Long.MAX_VALUE</tt> if it would positively overflow. |
218 |
|
* @see #convert |
219 |
+ |
* @since 1.6 |
220 |
|
*/ |
221 |
|
public abstract long toMinutes(long duration); |
222 |
|
|
227 |
|
* or <tt>Long.MIN_VALUE</tt> if conversion would negatively |
228 |
|
* overflow, or <tt>Long.MAX_VALUE</tt> if it would positively overflow. |
229 |
|
* @see #convert |
230 |
+ |
* @since 1.6 |
231 |
|
*/ |
232 |
|
public abstract long toHours(long duration); |
233 |
|
|
236 |
|
* @param duration the duration |
237 |
|
* @return the converted duration |
238 |
|
* @see #convert |
239 |
+ |
* @since 1.6 |
240 |
|
*/ |
241 |
|
public abstract long toDays(long duration); |
242 |
|
|