|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.iquery.metadata.expr.relational.TimeShiftDirection
@SASScope(value="ALL") @Immutable public final class TimeShiftDirection
Models the direction shifting of time/date/timestamps values in an
AbstractRelativeTimeValueExpression.
Current, future, or past times are represented as CURRENT, PREVIOUS, or
NEXT TimeShiftDirection values.
| Field Summary | |
|---|---|
static TimeShiftDirection |
CURRENT
The "current" type representing the current time/date/timestamp |
static TimeShiftDirection |
NEXT
The "next" type representing the future in time/date/timestamp |
static TimeShiftDirection |
PREVIOUS
The "previous" type representing the past in time/date/timestamps |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object2)
|
int |
getValue()
Return the integer representation of the Type. |
static java.util.List<TimeShiftDirection> |
getValues()
Get the list of supported TimeShiftDirection types. |
int |
hashCode()
|
java.lang.String |
toString()
Override to generate a readable date string for this object. |
| Field Detail |
|---|
public static final TimeShiftDirection CURRENT
public static final TimeShiftDirection NEXT
public static final TimeShiftDirection PREVIOUS
| Method Detail |
|---|
public java.lang.String toString()
Do not count on the format of the returned string as it may change in future releases in undocumented ways.
toString in class java.lang.Objectpublic int getValue()
public static java.util.List<TimeShiftDirection> getValues()
TimeShiftDirection types.
public boolean equals(java.lang.Object object2)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
| Query |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||