public class Duration extends Object
Duration(long time, TimeUnit timeUnit)
long
getTime()
TimeUnit
getTimeUnit()
static Duration
none()
toMilliseconds()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Duration(long time, TimeUnit timeUnit)
public static Duration none()
public long getTime()
public TimeUnit getTimeUnit()
public long toMilliseconds()
Copyright © 2019. All rights reserved.