public class Duration
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
Duration(long millis) |
Modifier and Type | Method and Description |
---|---|
boolean |
isMultipleOf(Duration that) |
boolean |
isZero() |
Duration |
max(Duration that) |
long |
milliseconds() |
Duration |
min(Duration that) |
String |
prettyPrint() |
String |
toFormattedString() |
String |
toString() |
public boolean isMultipleOf(Duration that)
public boolean isZero()
public String toString()
toString
in class Object
public String toFormattedString()
public long milliseconds()
public String prettyPrint()