klyn.io.toml.TOMLLocalDate.TOMLLocalDate
constructor
public TOMLLocalDate(year as Int, month as Int, day as Int):
Description

Creates a timezone-independent calendar date.

Parameters
ParameterDescription
yearYear in range 1 through 9999.
monthMonth in range 1 through 12.
dayValid day for the selected month.
Throws
  • ValueException if the date is invalid.
Example
date = TOMLLocalDate(2024, 2, 29)
assert date.day == 29