public TOMLLocalDateTime(year as Int, month as Int, day as Int, hour as Int, minute as Int, second as Int = 0, usecond as Int = 0):
Creates a timezone-independent date and time.
| Parameter | Description |
|---|---|
year | Calendar year. |
month | Calendar month. |
day | Day of month. |
hour | Hour of day. |
minute | Minute of hour. |
second | Second of minute. |
usecond | Microsecond component. |
value = TOMLLocalDateTime(2024, 2, 29, 12, 0) assert value.date.day == 29