Obtains a java.time.YearMonth with the specified number of months added.
Obtains a java.time.YearMonth with the specified number of months added.
if the result exceeds the supported range.
Obtains a YearMonth with the specified number of months subtracted.
Obtains a YearMonth with the specified number of months subtracted.
if the result exceeds the supported range.
Obtains a java.time.LocalDate by combining this year-month with the specified day.
Obtains a java.time.LocalDate by combining this year-month with the specified day.
if the day is invalid for the year-month
Returns true
if this year-month is before the specified one.
Returns true
if this year-month is equal to or before the specified one.
Returns true
if this year-month is after the specified one.
Returns true
if this year-month is equal to or after the specified one.
Formats this year-month using the specified formatter.
Formats this year-month using the specified formatter.
- if an error occurs during printing
(yearMonthOps: StringAdd).+(other)
(yearMonthOps: StringAdd).self
(yearMonthOps: StringFormat).self
(yearMonthOps: ArrowAssoc[YearMonthOps]).x
(Since version 2.10.0) Use leftOfArrow
instead
(yearMonthOps: Ensuring[YearMonthOps]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Enriches YearMonth instances with additional methods.