YearMonthType
Provides extension methods to java.time.YearMonth
Value members
Concrete methods
Gets month with specified number of months added.
Gets month with specified number of months added.
- Value Params
- months
number of months
Gets month with specified amount added.
Gets month with specified amount added.
- Value Params
- amount
temporal amount
Gets month with specified number of months subtracted.
Gets month with specified number of months subtracted.
- Value Params
- months
number of months
Gets month with specified amount subtracted.
Gets month with specified amount subtracted.
- Value Params
- amount
temporal amount
Creates iterator to end month (inclusive).
Creates iterator to end month (inclusive).
- Value Params
- end
end month
- step
period by which to step
- Throws
- IllegalArgumentException
if
step
is zero.
Creates iterator to end month (exclusive).
Creates iterator to end month (exclusive).
- Value Params
- end
end month
- step
period by which to step
Compares to other month and returns the greater value.
Compares to other month and returns the greater value.
- Value Params
- other
other month