Date

Creates a Date from a year, ISO month number, and day of month.

Parameters

day

the day of the month

monthNumber

the ISO month number, from 1-12

year

the year

fun Date(year: Int, monthNumber: Int, day: Int)

Creates a Date from a year, month, and day of month.

Parameters

day

the day of the month

month

the month

year

the year

fun Date(year: Int, month: Month, day: Int)