LocalDateMethods
Provides extension methods for java.time.LocalDate
Value members
Concrete methods
Gets date with specified number of days added.
Gets date with specified number of days added.
- Value parameters:
- days
number of days
Gets date with specified amount added.
Gets date with specified amount added.
- Value parameters:
- amount
temporal amount
Gets date with specified number of days subtracted.
Gets date with specified number of days subtracted.
- Value parameters:
- days
number of days
Gets date with specified amount subtracted.
Gets date with specified amount subtracted.
- Value parameters:
- amount
temporal amount
Gets date adjusted to last day of week.
Gets date adjusted to last day of week.
- Note:
Saturday is last day of week.
Gets date adjusted to last day of week.
Gets date adjusted to last day of week.
- Value parameters:
- lastDay
last day of week
Gets date adjusted to first day of week.
Gets date adjusted to first day of week.
- Note:
Sunday is first day of week.
Gets date adjusted to specified first day of week.
Gets date adjusted to specified first day of week.
- Value parameters:
- firstDay
first day of week
Creates iterator to end date (inclusive).
Creates iterator to end date (inclusive).
- Value parameters:
- end
end date
- step
period by which to step
- Throws:
- IllegalArgumentException
if
step
is zero.
Creates iterator to end date (exclusive).
Creates iterator to end date (exclusive).
- Value parameters:
- end
end date
- step
period by which to step
Compares to other date and returns the greater value.
Compares to other date and returns the greater value.
- Value parameters:
- other
other date