V - generic type of element valuesT - generic type of target entity an operator is applied topublic interface AdjustableElement<V,T> extends ZonalElement<V>
Extends a chronological element by some standard ways of manipulation.
| Modifier and Type | Method and Description |
|---|---|
ElementOperator<T> |
atCeiling()
Rounds up an entity by setting all child elements to maximum.
|
ElementOperator<T> |
atFloor()
Rounds down an entity by setting all child elements to minimum.
|
ElementOperator<T> |
decremented()
Adjusts any local entity such that this element gets the previous
value.
|
ElementOperator<T> |
incremented()
Adjusts any local entity such that this element gets the next
value.
|
ElementOperator<T> |
maximized()
Sets any local entity to the maximum of this element.
|
ElementOperator<T> |
minimized()
Sets any local entity to the minimum of this element.
|
ElementOperator<T> |
newValue(V value)
Sets any local entity to given new value of this element.
|
at, atUTC, in, inStdTimezone, inTimezonecompare, getDefaultMaximum, getDefaultMinimum, getSymbol, getType, isDateElement, isLenient, isTimeElement, namecomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongElementOperator<T> newValue(V value)
Sets any local entity to given new value of this element.
value - new element valuePlainTimestampChronoEntity.with(ChronoElement, V)ElementOperator<T> minimized()
Sets any local entity to the minimum of this element.
PlainTimestampElementOperator<T> maximized()
Sets any local entity to the maximum of this element.
PlainTimestampElementOperator<T> decremented()
Adjusts any local entity such that this element gets the previous value.
The operator throws a ChronoException if there is no
base unit available for this element.
PlainTimestamp
and requiring a base unit in given chronology for decrementingTimeAxis.getBaseUnit(ChronoElement)ElementOperator<T> incremented()
Adjusts any local entity such that this element gets the next value.
The operator throws a ChronoException if there is no
base unit available for this element.
PlainTimestamp
and requiring a base unit in given chronology for incrementingTimeAxis.getBaseUnit(ChronoElement)ElementOperator<T> atFloor()
Rounds down an entity by setting all child elements to minimum.
ElementOperator<T> atCeiling()
Rounds up an entity by setting all child elements to maximum.
Copyright © 2014–2015. All rights reserved.