public class LongAndTimeUnit extends Object
| Constructor and Description | 
|---|
| LongAndTimeUnit() | 
| Modifier and Type | Method and Description | 
|---|---|
| TimeUnit | getTimeUnit()Get the TimeUnit | 
| long | getValue()Get the value | 
| void | setTimeUnit(TimeUnit timeUnit)Set the TimeUnit | 
| void | setValue(long value)Set the value | 
| String | toString() | 
public long getValue()
public void setValue(long value)
value - to setpublic TimeUnit getTimeUnit()
public void setTimeUnit(TimeUnit timeUnit)
timeUnit - to setCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.