core
/
io.islandtime
/
YearMonth
/
YearMonth
common
Year
Month
fun
YearMonth
(year:
Int
, monthNumber:
Int
)
Content copied to clipboard
Creates a
YearMonth
.
Throws
io.
islandtime.
Date
Time
Exception
if the year or month is invalid
fun
YearMonth
(year:
Int
, month:
Month
)
Content copied to clipboard
Creates a
YearMonth
.
Parameters
year
the year
month
the month of the year