Package net.time4j
Interface CalendarDateElement
- All Superinterfaces:
ChronoElement<PlainDate>
,Comparator<ChronoDisplay>
,ZonalElement<PlainDate>
Represents the calendar date.
- Since:
- 1.2
- Author:
- Meno Hochschild
-
Method Summary
Modifier and TypeMethodDescriptionAdjusts a calendar date to the first day of next month.Adjusts a calendar date to the first day of next quarter year.Adjusts a calendar date to the first day of next year.Adjusts a calendar date to the last day of previous month.Adjusts a calendar date to the last day of previous quarter year.Adjusts a calendar date to the last day of previous year.Methods inherited from interface net.time4j.engine.ChronoElement
compare, getDefaultMaximum, getDefaultMinimum, getDisplayName, getSymbol, getType, isDateElement, isLenient, isTimeElement, name
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface net.time4j.ZonalElement
at, atUTC, in, inStdTimezone, inTimezone
-
Method Details
-
firstDayOfNextMonth
ElementOperator<PlainDate> firstDayOfNextMonth()Adjusts a calendar date to the first day of next month.
- Returns:
- operator also applicable on
PlainTimestamp
- Since:
- 1.2
-
firstDayOfNextQuarter
ElementOperator<PlainDate> firstDayOfNextQuarter()Adjusts a calendar date to the first day of next quarter year.
- Returns:
- operator also applicable on
PlainTimestamp
- Since:
- 1.2
-
firstDayOfNextYear
ElementOperator<PlainDate> firstDayOfNextYear()Adjusts a calendar date to the first day of next year.
- Returns:
- operator also applicable on
PlainTimestamp
- Since:
- 1.2
-
lastDayOfPreviousMonth
ElementOperator<PlainDate> lastDayOfPreviousMonth()Adjusts a calendar date to the last day of previous month.
- Returns:
- operator also applicable on
PlainTimestamp
- Since:
- 1.2
-
lastDayOfPreviousQuarter
ElementOperator<PlainDate> lastDayOfPreviousQuarter()Adjusts a calendar date to the last day of previous quarter year.
- Returns:
- operator also applicable on
PlainTimestamp
- Since:
- 1.2
-
lastDayOfPreviousYear
ElementOperator<PlainDate> lastDayOfPreviousYear()Adjusts a calendar date to the last day of previous year.
- Returns:
- operator also applicable on
PlainTimestamp
- Since:
- 1.2
-