T - the literal typepublic class DateLiteral<T extends Date> extends Literal<T>
Date.
Typically, Date, Time and DateTime are used to express date and
time values.| Constructor and Description |
|---|
DateLiteral(T value)
Constructs a date literal with the given value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getString() |
static DateLiteral<Date> |
parseDate(String value)
Parses a
Date literal value from a string. |
static DateLiteral<Date> |
parseDateTime(String value)
Parses a
Date literal value from a string. |
static DateLiteral<Time> |
parseTime(String value)
Parses a
Time literal value from a string. |
getLiteralType, getValue, interpret, toStringpublic DateLiteral(T value)
value - the literal valuepublic static DateLiteral<Date> parseDate(String value)
Date literal value from a string.value - the string valuepublic static DateLiteral<Time> parseTime(String value)
Time literal value from a string.value - the string valuepublic static DateLiteral<Date> parseDateTime(String value)
Date literal value from a string.value - the string valuepublic String getString()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.