Inherited Attributes
Attributes inherited from: Object
Methods
minusDaysSource Codeshared formal Element minusDays(Integer days)

Returns a copy of this period with the specified number of days subtracted.

minusMonthsSource Codeshared formal Element minusMonths(Integer months)

Returns a copy of this period with the specified number of months subtracted.

minusWeeksSource Codeshared formal Element minusWeeks(Integer weeks)

Returns a copy of this period with the specified number of weeks subtracted.

minusYearsSource Codeshared formal Element minusYears(Integer years)

Returns a copy of this period with the specified number of years subtracted.

plusDaysSource Codeshared formal Element plusDays(Integer days)

Returns a copy of this period with the specified number of days added.

plusMonthsSource Codeshared formal Element plusMonths(Integer months)

Returns a copy of this period with the specified number of months added.

plusWeeksSource Codeshared formal Element plusWeeks(Integer weeks)

Returns a copy of this period with the specified number of weeks added.

plusYearsSource Codeshared formal Element plusYears(Integer years)

Returns a copy of this period with the specified number of years added.

withDaySource Codeshared formal Element withDay(Integer dayOfMonth)

Returns a copy of this period with the specified day of month.

withDayOfWeekSource Codeshared formal Element withDayOfWeek(DayOfWeek dayOfWeek)

Returns a copy of this period with the specified day of week.

withDayOfYearSource Codeshared formal Element withDayOfYear(Integer dayOfYear)

Returns a copy of this period with the specified day of year.

withMonthSource Codeshared formal Element withMonth(Month month)

Returns a copy of this period with the specified month of year.

withWeekOfYearSource Codeshared formal Element withWeekOfYear(Integer weekNumber)

Returns a copy of this period with the specified week of year.

withYearSource Codeshared formal Element withYear(Integer year)

Returns a copy of this period with the specified year.

Inherited Methods
Methods inherited from: Object