public class Duration extends Object
Duration(long value, TimeUnit unit)
TimeUnit
unit()
long
value()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Duration(long value, TimeUnit unit)
public long value()
public TimeUnit unit()