Interface StdCalendarElement<V,​T>

Type Parameters:
V - generic type of element values
T - generic type of target entity an operator is applied to
All Superinterfaces:
ChronoElement<V>, Comparator<ChronoDisplay>
All Known Subinterfaces:
OrdinalWeekdayElement<T>

public interface StdCalendarElement<V,​T> extends ChronoElement<V>

Extends a chronological element by some standard ways of manipulation.

Since:
3.5/4.3
Author:
Meno Hochschild
  • Method Details

    • minimized

      ChronoOperator<T> minimized()

      Sets any local entity to the minimum of this element.

      Returns:
      ChronoOperator
      Since:
      3.5/4.3
    • maximized

      ChronoOperator<T> maximized()

      Sets any local entity to the maximum of this element.

      Returns:
      ChronoOperator
      Since:
      3.5/4.3
    • decremented

      ChronoOperator<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.

      Returns:
      ChronoOperator
      Since:
      3.5/4.3
    • incremented

      ChronoOperator<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.

      Returns:
      ChronoOperator
      Since:
      3.5/4.3
    • atFloor

      ChronoOperator<T> atFloor()

      Rounds down an entity by setting all child elements to minimum.

      Returns:
      ChronoOperator
      Since:
      3.5/4.3
    • atCeiling

      ChronoOperator<T> atCeiling()

      Rounds up an entity by setting all child elements to maximum.

      Returns:
      ChronoOperator
      Since:
      3.5/4.3