public class Duration
extends java.lang.Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
Duration(long millis) |
Modifier and Type | Method and Description |
---|---|
double |
div(Duration that) |
boolean |
greater(Duration that) |
boolean |
greaterEq(Duration that) |
boolean |
isMultipleOf(Duration that) |
boolean |
isZero() |
boolean |
less(Duration that) |
boolean |
lessEq(Duration that) |
Duration |
max(Duration that) |
long |
milliseconds() |
Duration |
min(Duration that) |
Duration |
minus(Duration that) |
Duration |
plus(Duration that) |
java.lang.String |
prettyPrint() |
Duration |
times(int times) |
java.lang.String |
toFormattedString() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public boolean less(Duration that)
public boolean lessEq(Duration that)
public boolean greater(Duration that)
public boolean greaterEq(Duration that)
public Duration times(int times)
public double div(Duration that)
public boolean isMultipleOf(Duration that)
public boolean isZero()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFormattedString()
public long milliseconds()
public java.lang.String prettyPrint()