Class DateTimeLiteralValue
java.lang.Object
org.ek9lang.compiler.support.literals.DateTimeLiteralValue
- All Implemented Interfaces:
Function<String, ZonedDateTime>
THE reading of a DateTime literal (
2024-01-15T10:30:00Z); throws
DateTimeParseException. A ZonedDateTime, because that is what the runtime's
DateTime reads the same text with; the lexer admits only a Z or +/-HH:MM offset, so
an OffsetDateTime would accept exactly the same texts.-
Constructor Details
-
DateTimeLiteralValue
public DateTimeLiteralValue()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<String, ZonedDateTime>
-