//core/io.islandtime.parser/DateTimeParsers/Iso/YEAR
YEAR¶
common
val YEAR: DateTimeParser
Parse an ISO-8601 standalone year. Note that not all formats supported by this parser are valid when a year is combined with other fields.
Examples:
- `2008`
- `0001`
- `0000`
- `-0001`
- `+0123456789`
- `Y12345`