public final class TimeValue extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
abbreviate(TimeUnit unit) |
long |
getDays() |
long |
getHours() |
long |
getMicros() |
long |
getMillis() |
long |
getMinutes() |
long |
getNanos() |
long |
getSeconds() |
TimeUnit |
getUnit() |
long |
getValue() |
TimeValue |
to(TimeUnit unit) |
TimeValue |
toDays() |
TimeValue |
toHours() |
TimeValue |
toMicros() |
TimeValue |
toMillis() |
TimeValue |
toMinutes() |
TimeValue |
toNanos() |
TimeValue |
toSeconds() |
String |
toString() |
public static final TimeValue ZERO
public TimeValue(long value,
TimeUnit unit)
public TimeValue toNanos()
public TimeValue toMillis()
public TimeValue toMicros()
public TimeValue toSeconds()
public TimeValue toMinutes()
public TimeValue toHours()
public TimeValue toDays()
public long getNanos()
public long getMillis()
public long getMicros()
public long getSeconds()
public long getMinutes()
public long getHours()
public long getDays()
public TimeUnit getUnit()
public long getValue()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.