public interface WallTimeElement extends ZonalElement<PlainTime>
Represents the wall time.
Defines additional operators for moving a timestamp to a new wall time possibly changing the day.
| Modifier and Type | Method and Description |
|---|---|
ElementOperator<PlainTime> |
roundedToFullHour()
Performs rounding to full hour in half rounding mode.
|
ElementOperator<PlainTime> |
roundedToFullMinute()
Performs rounding to full minute in half rounding mode.
|
ElementOperator<?> |
setToNext(PlainTime value)
Moves a timestamp to the next given wall time and change the day
if necessary.
|
ElementOperator<PlainTime> |
setToNextFullHour()
Adjusts to next full hour.
|
ElementOperator<PlainTime> |
setToNextFullMinute()
Adjusts to next full minute.
|
ElementOperator<?> |
setToNextOrSame(PlainTime value)
Moves a timestamp to the next or same given wall time and change
the day if necessary.
|
ElementOperator<?> |
setToPrevious(PlainTime value)
Moves a timestamp to the previous given wall time and change the day
backwards if necessary.
|
ElementOperator<?> |
setToPreviousOrSame(PlainTime value)
Moves a timestamp to the previous or same given wall time and
change the day backwards if necessary.
|
at, atUTC, in, inStdTimezone, inTimezonecompare, getDefaultMaximum, getDefaultMinimum, getSymbol, getType, isDateElement, isLenient, isTimeElement, nameequalsElementOperator<?> setToNext(PlainTime value)
Moves a timestamp to the next given wall time and change the day if necessary.
value - new wall time which is after current wall timePlainTimestampPlainTimestamp.with(ElementOperator)ElementOperator<?> setToPrevious(PlainTime value)
Moves a timestamp to the previous given wall time and change the day backwards if necessary.
value - new wall time which is before current wall timePlainTimestampPlainTimestamp.with(ElementOperator)ElementOperator<?> setToNextOrSame(PlainTime value)
Moves a timestamp to the next or same given wall time and change the day if necessary.
value - new wall time which is not before current wall timePlainTimestampPlainTimestamp.with(ElementOperator)ElementOperator<?> setToPreviousOrSame(PlainTime value)
Moves a timestamp to the previous or same given wall time and change the day backwards if necessary.
value - new wall time which is not after current wall timePlainTimestampPlainTimestamp.with(ElementOperator)ElementOperator<PlainTime> roundedToFullHour()
Performs rounding to full hour in half rounding mode.
PlainTimestampElementOperator<PlainTime> roundedToFullMinute()
Performs rounding to full minute in half rounding mode.
PlainTimestampElementOperator<PlainTime> setToNextFullHour()
Adjusts to next full hour.
PlainTimestampElementOperator<PlainTime> setToNextFullMinute()
Adjusts to next full minute.
PlainTimestampCopyright © 2014. All rights reserved.