public class Duration
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
Duration(long millis) |
Modifier and Type | Method and Description |
---|---|
abstract static R |
apply(T1 v1) |
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) |
String |
prettyPrint() |
Duration |
times(int times) |
String |
toFormattedString() |
String |
toString() |
public abstract static R apply(T1 v1)
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 String toString()
toString
in class Object
public String toFormattedString()
public long milliseconds()
public String prettyPrint()