Uses of Class
net.time4j.ElementOperator
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.-
Uses of ElementOperator in net.time4j
Modifier and TypeMethodDescriptionAdjustableElement.atCeiling()
Rounds up an entity by setting all child elements to maximum.AdjustableElement.atFloor()
Rounds down an entity by setting all child elements to minimum.AdjustableElement.decremented()
Adjusts any local entity such that this element gets the previous value.CalendarDateElement.firstDayOfNextMonth()
Adjusts a calendar date to the first day of next month.CalendarDateElement.firstDayOfNextQuarter()
Adjusts a calendar date to the first day of next quarter year.CalendarDateElement.firstDayOfNextYear()
Adjusts a calendar date to the first day of next year.AdjustableElement.incremented()
Adjusts any local entity such that this element gets the next value.CalendarDateElement.lastDayOfPreviousMonth()
Adjusts a calendar date to the last day of previous month.CalendarDateElement.lastDayOfPreviousQuarter()
Adjusts a calendar date to the last day of previous quarter year.CalendarDateElement.lastDayOfPreviousYear()
Adjusts a calendar date to the last day of previous year.AdjustableElement.maximized()
Sets any local entity to the maximum of this element.AdjustableElement.minimized()
Sets any local entity to the minimum of this element.Sets any local entity to given new value of this element.WallTimeElement.roundedToFullHour()
Performs rounding to full hour in half rounding mode.WallTimeElement.roundedToFullMinute()
Performs rounding to full minute in half rounding mode.ProportionalElement.setLenient(V value)
Adjusts any kind of entity such that this element will be set to the given value in lenient mode.default ElementOperator<PlainDate>
Defines an operator which moves a date to the given ordinal weekday in month.OrdinalWeekdayElement.setToFirst(Weekday dayOfWeek)
Defines an operator which moves a date to the first given weekday in month.OrdinalWeekdayElement.setToFourth(Weekday dayOfWeek)
Defines an operator which moves a date to the fourth given weekday in month.Defines an operator which moves a date to the last given weekday in month.Moves a time point to the first given element value which is after the current element value.Moves a timestamp to the next given wall time and change the day if necessary.WallTimeElement.setToNextFullHour()
Adjusts to next full hour.WallTimeElement.setToNextFullMinute()
Adjusts to next full minute.NavigableElement.setToNextOrSame(V value)
Moves a time point to the first given element value which is after or equal to the current element value.WallTimeElement.setToNextOrSame(PlainTime value)
Moves a timestamp to the next or same given wall time and change the day if necessary.NavigableElement.setToPrevious(V value)
Moves a time point to the first given element value which is before the current element value.WallTimeElement.setToPrevious(PlainTime value)
Moves a timestamp to the previous given wall time and change the day backwards if necessary.NavigableElement.setToPreviousOrSame(V value)
Moves a time point to the first given element value which is before or equal to the current element value.WallTimeElement.setToPreviousOrSame(PlainTime value)
Moves a timestamp to the previous or same given wall time and change the day backwards if necessary.OrdinalWeekdayElement.setToSecond(Weekday dayOfWeek)
Defines an operator which moves a date to the second given weekday in month.OrdinalWeekdayElement.setToThird(Weekday dayOfWeek)
Defines an operator which moves a date to the third given weekday in month.Modifier and TypeMethodDescriptionPlainTimestamp.with(ElementOperator<?> operator)
Adjusts this timestamp by given operator.