public class Time
extends Object
implements scala.Product, scala.Serializable
Constructor and Description |
---|
Time(long millis) |
Modifier and Type | Method and Description |
---|---|
Time |
floor(Duration that) |
Time |
floor(Duration that,
Time zeroTime) |
boolean |
greater(Time that) |
boolean |
greaterEq(Time that) |
boolean |
isMultipleOf(Duration that) |
boolean |
less(Time that) |
boolean |
lessEq(Time that) |
Time |
max(Time that) |
long |
milliseconds() |
Time |
min(Time that) |
Time |
minus(Duration that) |
Duration |
minus(Time that) |
static scala.math.Ordering<Time> |
ordering() |
Time |
plus(Duration that) |
scala.collection.Seq<Time> |
to(Time that,
Duration interval) |
String |
toString() |
scala.collection.Seq<Time> |
until(Time that,
Duration interval) |
public static scala.math.Ordering<Time> ordering()
public long milliseconds()
public boolean less(Time that)
public boolean lessEq(Time that)
public boolean greater(Time that)
public boolean greaterEq(Time that)
public boolean isMultipleOf(Duration that)
public String toString()
toString
in class Object