Class DateLiteral
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Literal
org.nuxeo.ecm.core.query.sql.model.DateLiteral
- All Implemented Interfaces:
Serializable
,ASTNode
,Operand
- Author:
- Florent Guillaume
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDateLiteral
(String value, boolean onlyDate) DateLiteral
(ZonedDateTime value) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Accept the given visitor.asString()
Gets a string representation of the value.static String
date
(DateLiteral date) Deprecated.since 11.1 as not usedstatic String
dateTime
(DateLiteral date) Deprecated.since 11.1 as not usedboolean
int
hashCode()
toString()
-
Field Details
-
value
-
onlyDate
public final boolean onlyDate
-
-
Constructor Details
-
DateLiteral
-
DateLiteral
-
-
Method Details
-
toCalendar
-
toSqlDate
-
toString
-
asString
Description copied from class:Literal
Gets a string representation of the value. -
accept
Description copied from interface:ASTNode
Accept the given visitor.- Parameters:
visitor
- the AST node visitor
-
equals
-
hashCode
public int hashCode() -
dateTime
Deprecated.since 11.1 as not used -
date
Deprecated.since 11.1 as not used
-