Adds delta
to this TimeLike
.
Adds delta
to this TimeLike
. Adding Duration.Top
results
in the TimeLike
's Top
, adding Duration.Bottom
results in
the TimeLike
's Bottom
.
Creates a duration between two times.
Rounds up to the nearest multiple of the given duration.
The difference between the two TimeLike
s
Rounds down to the nearest multiple of the given duration.
Formats this Time according to the given SimpleDateFormat pattern and locale.
Formats this Time according to the given SimpleDateFormat pattern.
The TimeLike
's value in nanoseconds.
Returns a value/TimeUnit
pair; attempting to return coarser
grained values if possible (specifically: TimeUnit.SECONDS
or
TimeUnit.MILLISECONDS
) before resorting to the default
TimeUnit.NANOSECONDS
.
Returns a value/TimeUnit
pair; attempting to return coarser
grained values if possible (specifically: TimeUnit.SECONDS
or
TimeUnit.MILLISECONDS
) before resorting to the default
TimeUnit.NANOSECONDS
.
Is this a finite TimeLike value?
Is this a finite TimeLike value and equals 0
Is this a finite TimeLike value and equals 0
Finds a diff between this and that time.
Subtracts delta
from this Time
.
Equality within maxDelta
Equality within maxDelta
Adds delta
to this Time
.
Duration that has passed between the given time and the current time.
Duration that has passed between the epoch and the current time.
Gets the current time as Duration since now
Converts this Time object to a java.util.Date
Renders this time using the default format.
Renders this time using the default format.
Duration between current time and the given time.
Gets the duration between this time and the epoch.
Gets the duration between this time and now.
An absolute point in time, represented as the number of nanoseconds since the Unix epoch.
TimeFormat for converting to and from
String
representations.Stopwatch for measuring elapsed time.
Duration for intervals between two points in time.