Expression
, Literal
, QueryObject
DateLiteral
, TimeLiteral
, TimestampLiteral
public abstract class AbstractTemporalLiteral extends AbstractLiteral
Modifier | Constructor | Description |
---|---|---|
protected |
AbstractTemporalLiteral(java.util.Calendar value) |
Construct an abstract temporal literal with given calendar.
|
protected |
AbstractTemporalLiteral(java.util.Date value) |
Construct an abstract temporal literal with given date.
|
Modifier and Type | Method | Description |
---|---|---|
static AbstractTemporalLiteral |
createInstance(TemporalType temporalType,
java.util.Calendar value) |
Factory method to create a temporal literal for the calendar given that matches the
temporal type given.
|
static AbstractTemporalLiteral |
createInstance(TemporalType temporalType,
java.util.Date value) |
Factory method to create a temporal literal for the date given that matches the
temporal type given.
|
java.util.Date |
getValue() |
Get date value of the temporal literal.
|
abs, add, add, add, add, between, between, between, between, between, between, between, concat, concat, divide, divide, divide, divide, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, locate, locate, locate, locate, locate, locate, lower, multiply, multiply, multiply, multiply, negate, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notLike, notLike, notLike, notLike, notLike, notLike, plus, remainder, remainder, remainder, remainder, sqrt, substring, substring, substring, substring, subtract, subtract, subtract, subtract, trim, trim, trim, trim, trim, trim, upper
toString
abs, add, add, add, add, between, between, between, between, between, between, between, concat, concat, divide, divide, divide, divide, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, locate, locate, locate, locate, locate, locate, lower, multiply, multiply, multiply, multiply, negate, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notLike, notLike, notLike, notLike, notLike, notLike, plus, remainder, remainder, remainder, remainder, sqrt, substring, substring, substring, substring, subtract, subtract, subtract, subtract, trim, trim, trim, trim, trim, trim, upper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toString
protected AbstractTemporalLiteral(java.util.Date value)
value
- Date value for the temporal literal.protected AbstractTemporalLiteral(java.util.Calendar value)
value
- Calendar value for the temporal literal.public static AbstractTemporalLiteral createInstance(TemporalType temporalType, java.util.Date value)
temporalType
- Temporal type of the temporal literal to return.value
- Date value for the temporal literal.public static AbstractTemporalLiteral createInstance(TemporalType temporalType, java.util.Calendar value)
temporalType
- Temporal type of the temporal literal to return.value
- Calendar value for the temporal literal.public final java.util.Date getValue()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com