net.dontdrinkandroot.cache.utils
Class Duration
java.lang.Object
net.dontdrinkandroot.cache.utils.Duration
public class Duration
- extends Object
|
Method Summary |
static long |
days(int i)
|
static long |
minutes(int i)
|
static long |
seconds(int i)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECONDS_PER_MINUTE
public static final long SECONDS_PER_MINUTE
- See Also:
- Constant Field Values
MINUTES_PER_HOUR
public static final long MINUTES_PER_HOUR
- See Also:
- Constant Field Values
HOURS_PER_DAY
public static final long HOURS_PER_DAY
- See Also:
- Constant Field Values
MILLIS_PER_SECOND
public static final long MILLIS_PER_SECOND
- See Also:
- Constant Field Values
MILLIS_PER_MINUTE
public static final long MILLIS_PER_MINUTE
- See Also:
- Constant Field Values
MILLIS_PER_HOUR
public static final long MILLIS_PER_HOUR
- See Also:
- Constant Field Values
MILLIS_PER_DAY
public static final long MILLIS_PER_DAY
- See Also:
- Constant Field Values
Duration
public Duration()
seconds
public static long seconds(int i)
minutes
public static long minutes(int i)
days
public static long days(int i)
Copyright © 2013 dontdrinkandroot. All Rights Reserved.