public static enum DateTimeLiteralExpression.DateTime extends Enum<DateTimeLiteralExpression.DateTime>
| Enum Constant and Description |
|---|
DATE |
TIME |
TIMESTAMP |
TIMESTAMPTZ |
| Modifier and Type | Method and Description |
|---|---|
static DateTimeLiteralExpression.DateTime |
from(String dateTimeStr) |
static DateTimeLiteralExpression.DateTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeLiteralExpression.DateTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeLiteralExpression.DateTime DATE
public static final DateTimeLiteralExpression.DateTime TIME
public static final DateTimeLiteralExpression.DateTime TIMESTAMP
public static final DateTimeLiteralExpression.DateTime TIMESTAMPTZ
public static DateTimeLiteralExpression.DateTime[] values()
for (DateTimeLiteralExpression.DateTime c : DateTimeLiteralExpression.DateTime.values()) System.out.println(c);
public static DateTimeLiteralExpression.DateTime valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DateTimeLiteralExpression.DateTime from(String dateTimeStr)
Copyright © 2004–2024 JSQLParser. All rights reserved.