public class TOMLLocalDate extends Object implements ValueType:
Date without a time or timezone, as defined by TOML.
import klyn.io.toml date = TOMLLocalDate(2026, 8, 10) assert date.toString() == "2026-08-10"
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | dayday as Int: |
Day of month. |
| public readonly property | monthmonth as Int: |
Calendar month. |
| public readonly property | yearyear as Int: |
Calendar year. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | TOMLLocalDateTOMLLocalDate(year as Int, month as Int, day as Int): |
Creates a timezone-independent calendar date. |
| Modifier and Type | Member | Description |
|---|---|---|
| public override | toStringtoString() as String: |
Formats this value using TOML's local-date representation. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | operator!=(left as TOMLLocalDate, right as TOMLLocalDate) as Boolean: | Compares two local dates for inequality. |
| public static | operator==(left as TOMLLocalDate, right as TOMLLocalDate) as Boolean: | Compares two local dates by calendar components. |