contains

operator fun contains(yearMonth: YearMonth): Boolean

Checks if this year contains the specified year-month.

operator fun contains(date: Date): Boolean

Checks if this year contains the specified date.