//core/io.islandtime/YearMonth/YearMonth
YearMonth¶
common
fun YearMonth(year: Int, monthNumber: Int)
Creates a YearMonth.
Throws¶
io.islandtime.DateTimeException | if the year or month is invalid |
common
fun YearMonth(year: Int, month: Month)
Creates a YearMonth.
Parameters¶
common
year | the year |
month | the month of the year |