Uses of Interface
net.time4j.engine.ChronoOperator
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Support for the traditional Hindu calendar family.
Defines the common generic schemes and interfaces of chronological
systems.
Interval support.
-
Uses of ChronoOperator in net.time4j
Modifier and TypeClassDescriptionclass
Defines any manipulation of date or wall time objects following the strategy design pattern.class
Enumeration of months in ISO-8601-calendar.class
Represents a quarter (in most cases of a year).class
Enumeration of weekdays.Modifier and TypeMethodDescriptionAnnualDate.asNextExactEvent()
Determines the next possible exact annual date.AnnualDate.asNextRoundedEvent()
Determines the next possible annual date and rounds up to next day if necessary.ElementOperator.at(ZonalOffset offset)
Creates an operator which can adjust aMoment
at the given timezone offset.default ChronoOperator<T>
CombinesnewValue(V)
and thenatCeiling()
.default ChronoOperator<T>
CombinesnewValue(V)
and thenatFloor()
.ElementOperator.atUTC()
Equivalent toat(ZonalOffset.UTC)
.Creates an operator which can adjust aMoment
in the given timezone.ElementOperator.inStdTimezone()
Creates an operator which can adjust aMoment
in the system timezone.ElementOperator.inTimezone(TZID tzid)
Creates an operator which can adjust aMoment
in the given timezone.static ChronoOperator<Moment>
Moment.nextLeapSecond()
Tries to determine the next coming leap second.ProportionalElement.roundedDown(int stepwidth)
Rounds this chronological element down and makes its numerical value an integral multiple of given step width if possible.ProportionalElement.roundedHalf(int stepwidth)
Rounds this chronological element up or down and makes its numerical value an integral multiple of given step width if possible.ProportionalElement.roundedUp(int stepwidth)
Rounds this chronological element up and makes its numerical value an integral multiple of given step width if possible. -
Uses of ChronoOperator in net.time4j.calendar
Modifier and TypeMethodDescriptionStdCalendarElement.atCeiling()
Rounds up an entity by setting all child elements to maximum.StdCalendarElement.atFloor()
Rounds down an entity by setting all child elements to minimum.StdCalendarElement.decremented()
Adjusts any local entity such that this element gets the previous value.StdCalendarElement.incremented()
Adjusts any local entity such that this element gets the next value.StdCalendarElement.maximized()
Sets any local entity to the maximum of this element.StdCalendarElement.minimized()
Sets any local entity to the minimum of this element.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.Defines an operator which moves a date to the last given weekday in month.<D extends EastAsianCalendar<?, D>>
ChronoOperator<D>SolarTerm.sinceLichun()
Obtains an operator which searches for this solar term on or after Lichun event in the gregorian year corresponding to the East Asian calendar date in question.<D extends EastAsianCalendar<?, D>>
ChronoOperator<D>SolarTerm.sinceNewYear()
Obtains an operator which searches for this solar term on or after New Year of the East Asian calendar date in question. -
Uses of ChronoOperator in net.time4j.calendar.hindu
Modifier and TypeMethodDescriptiondefault ChronoOperator<HinduCalendar>
AdjustableTextElement.maximized()
Sets the Hindu calendar date to the maximum of this element.default ChronoOperator<HinduCalendar>
AdjustableTextElement.minimized()
Sets the Hindu calendar date to the minimum of this element. -
Uses of ChronoOperator in net.time4j.engine
Modifier and TypeClassDescriptionclass
StdOperator<T extends ChronoEntity<T>>
Factory for producing standard chronological operators which are applicable on most chronological entities.Modifier and TypeMethodDescriptionstatic <T extends ChronoEntity<T>>
ChronoOperator<T>StdOperator.atCeiling(ChronoElement<?> element)
Yields an operator which rounds any entity up so that the child elements will be set to the maximum.static <T extends ChronoEntity<T>>
ChronoOperator<T>StdOperator.atFloor(ChronoElement<?> element)
Yields an operator which rounds any entity down so that the child elements will be set to the minimum.static <T extends ChronoEntity<T>>
ChronoOperator<T>StdOperator.decremented(ChronoElement<?> element)
Yields a new operator which can set any entity such that its actual element value gets the decremented value.static <T extends ChronoEntity<T>>
ChronoOperator<T>StdOperator.incremented(ChronoElement<?> element)
Yields a new operator which can set any entity such that its actual element value gets the incremented value.static <T extends ChronoEntity<T>>
ChronoOperator<T>StdOperator.maximized(ChronoElement<?> element)
Yields a new operator which can set any entity to its maximum element value.static <T extends ChronoEntity<T>>
ChronoOperator<T>StdOperator.minimized(ChronoElement<?> element)
Yields a new operator which can set any entity to its minimum element value.static <T extends ChronoEntity<T>, V>
ChronoOperator<T>StdOperator.newValue(V value, ChronoElement<V> element)
Yields an operator which sets any entity such that its actual element value will be set in normal mode to given value.static <T extends ChronoEntity<T>, V>
ChronoOperator<T>StdOperator.setLenient(V value, ChronoElement<V> element)
Yields an operator which sets any entity such that its actual element value will be set in lenient mode to given value.Modifier and TypeMethodDescriptionChronoEntity.with(ChronoOperator<T> operator)
Creates a copy of this instance which is adjusted by givenChronoOperator
using a strategy pattern approach. -
Uses of ChronoOperator in net.time4j.range
Modifier and TypeMethodDescriptiondefault ChronoOperator<PlainDate>
HolidayModel.nextBusinessDay()
Determines the next business day.default ChronoOperator<PlainDate>
HolidayModel.nextOrSameBusinessDay()
Determines the same or next business day.default ChronoOperator<PlainDate>
HolidayModel.previousBusinessDay()
Determines the previous business day.default ChronoOperator<PlainDate>
HolidayModel.previousOrSameBusinessDay()
Determines the same or previous business day.