//core/io.islandtime/Date/Date
Date¶
common
constructor(year: Int, monthNumber: Int, day: Int)
Creates a Date from a year, ISO month number, and day of month.
Parameters¶
common
year | the year |
monthNumber | the ISO month number, from 1-12 |
day | the day of the month |
Throws¶
DateTimeException | if the year, month, or day is invalid |
common
constructor(year: Int, month: Month, day: Int)
Creates a Date from a year, month, and day of month.
Parameters¶
common
year | the year |
month | the month |
day | the day of the month |