Common behavior for date types.
no type hierarchy
no supertypes hierarchy
Methods | |
minusDays | Source Codeshared formal Element minusDays(Integer days) Returns a copy of this period with the specified number of days subtracted. |
minusMonths | Source Codeshared formal Element minusMonths(Integer months) Returns a copy of this period with the specified number of months subtracted. |
minusWeeks | Source Codeshared formal Element minusWeeks(Integer weeks) Returns a copy of this period with the specified number of weeks subtracted. |
minusYears | Source Codeshared formal Element minusYears(Integer years) Returns a copy of this period with the specified number of years subtracted. |
plusDays | Source Codeshared formal Element plusDays(Integer days) Returns a copy of this period with the specified number of days added. |
plusMonths | Source Codeshared formal Element plusMonths(Integer months) Returns a copy of this period with the specified number of months added. |
plusWeeks | Source Codeshared formal Element plusWeeks(Integer weeks) Returns a copy of this period with the specified number of weeks added. |
plusYears | Source Codeshared formal Element plusYears(Integer years) Returns a copy of this period with the specified number of years added. |
withDay | Source Codeshared formal Element withDay(Integer dayOfMonth) Returns a copy of this period with the specified day of month. |
withDayOfWeek | Source Codeshared formal Element withDayOfWeek(DayOfWeek dayOfWeek) Returns a copy of this period with the specified day of week. |
withDayOfYear | Source Codeshared formal Element withDayOfYear(Integer dayOfYear) Returns a copy of this period with the specified day of year. |
withMonth | Source Codeshared formal Element withMonth(Month month) Returns a copy of this period with the specified month of year. |
withWeekOfYear | Source Codeshared formal Element withWeekOfYear(Integer weekNumber) Returns a copy of this period with the specified week of year. |
withYear | Source Codeshared formal Element withYear(Integer year) Returns a copy of this period with the specified year. |
Inherited Methods |
Methods inherited from: Object |