| Package | Description |
|---|---|
| com.mware.ge.values | |
| com.mware.ge.values.storable | |
| com.mware.ge.values.storable.random |
| Modifier and Type | Method and Description |
|---|---|
Base |
ValueMapper.mapDuration(DurationValue value) |
TemporalAmount |
ValueMapper.JavaMapper.mapDuration(DurationValue value) |
| Modifier and Type | Field and Description |
|---|---|
static DurationValue |
DurationValue.MAX_VALUE |
static DurationValue |
DurationValue.MIN_VALUE |
static DurationValue |
DurationValue.ZERO |
| Modifier and Type | Method and Description |
|---|---|
DurationValue |
DurationValue.add(DurationValue that) |
static DurationValue |
DurationValue.approximate(double months,
double days,
double seconds,
double nanos)
Returns an approximation of the provided values by rounding to whole units and recalculating
the remainder into the smaller units.
|
static DurationValue |
DurationValue.between(TemporalUnit unit,
Temporal from,
Temporal to) |
static DurationValue |
DurationValue.build(MapValue map) |
DurationValue |
DurationValue.div(NumberValue number) |
static DurationValue |
DurationValue.duration(Duration value) |
static DurationValue |
DurationValue.duration(long months,
long days,
long seconds,
long nanos) |
static DurationValue |
DurationValue.duration(Period value) |
static DurationValue |
Values.durationValue(TemporalAmount value) |
DurationValue |
DurationValue.mul(NumberValue number) |
static DurationValue |
DurationValue.parse(CharSequence text) |
static DurationValue |
DurationValue.parse(TextValue text) |
DurationValue |
DurationValue.plus(long amount,
TemporalUnit unit) |
DurationValue |
DurationValue.sub(DurationValue that) |
protected DurationValue[] |
DurationArray.value() |
| Modifier and Type | Method and Description |
|---|---|
LocalTimeValue |
LocalTimeValue.add(DurationValue duration) |
DateValue |
DateValue.add(DurationValue duration) |
abstract TemporalValue |
TemporalValue.add(DurationValue duration) |
DateTimeValue |
DateTimeValue.add(DurationValue duration) |
LocalDateTimeValue |
LocalDateTimeValue.add(DurationValue duration) |
TimeValue |
TimeValue.add(DurationValue duration) |
DurationValue |
DurationValue.add(DurationValue that) |
int |
DurationValue.compareTo(DurationValue other) |
static DurationArray |
Values.durationArray(DurationValue[] values) |
boolean |
NumberArray.equals(DurationValue[] x) |
boolean |
DurationArray.equals(DurationValue[] x) |
boolean |
Value.equals(DurationValue[] x) |
LocalTimeValue |
LocalTimeValue.sub(DurationValue duration) |
DateValue |
DateValue.sub(DurationValue duration) |
abstract TemporalValue |
TemporalValue.sub(DurationValue duration) |
DateTimeValue |
DateTimeValue.sub(DurationValue duration) |
LocalDateTimeValue |
LocalDateTimeValue.sub(DurationValue duration) |
TimeValue |
TimeValue.sub(DurationValue duration) |
DurationValue |
DurationValue.sub(DurationValue that) |
| Modifier and Type | Method and Description |
|---|---|
DurationValue |
RandomValues.nextDuration() |
DurationValue |
RandomValues.nextPeriod() |
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.