public class Duration
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
Duration(long millis) |
Modifier and Type | Method and Description |
---|---|
abstract static boolean |
canEqual(Object that) |
double |
div(Duration that) |
abstract static boolean |
equals(Object 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() |
abstract static int |
productArity() |
abstract static Object |
productElement(int n) |
static scala.collection.Iterator<Object> |
productIterator() |
static String |
productPrefix() |
Duration |
times(int times) |
String |
toFormattedString() |
String |
toString() |
public abstract static boolean canEqual(Object that)
public abstract static boolean equals(Object that)
public abstract static Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<Object> productIterator()
public static String productPrefix()
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()