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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDateLiteral(String value, boolean onlyDate) DateLiteral(ZonedDateTime value) -
Method Summary
Modifier and TypeMethodDescriptionvoidAccept the given visitor.asString()Gets a string representation of the value.static Stringdate(DateLiteral date) Deprecated.since 11.1 as not usedstatic StringdateTime(DateLiteral date) Deprecated.since 11.1 as not usedbooleaninthashCode()toString()
-
Field Details
-
value
-
onlyDate
public final boolean onlyDate
-
-
Constructor Details
-
DateLiteral
-
DateLiteral
-
-
Method Details
-
toCalendar
-
toSqlDate
-
toString
-
asString
Description copied from class:LiteralGets a string representation of the value. -
accept
Description copied from interface:ASTNodeAccept 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
-