***  This class is subject to change.  ***

com.sas.iquery.metadata.expr.relational
Class TimeShiftUnit

com.sas.iquery.metadata.expr.relational.TimeShiftUnit

public class TimeShiftUnit

Models the specific amounts to shift by when using relative time expressions.


Field Summary
static TimeShiftUnit DAY
          This represents a "day" of time to shift by.
static TimeShiftUnit HOUR
          This represents a "hour" of time to shift by.
static TimeShiftUnit MINUTE
          This represents a "minute" of time to shift by.
static TimeShiftUnit MONTH
          This represents a "month" of time to shift by.
static TimeShiftUnit QUARTER
          This represents a "quarter" of time to shift by.
static TimeShiftUnit SECOND
          This represents a "second" of time to shift by.
static TimeShiftUnit WEEK
          This represents a "week" of time to shift by.
static TimeShiftUnit WEEKDAY
          This represents a "weekday" of time to shift by.
static TimeShiftUnit YEAR
          This represents a "year" of time to shift by.
 
Method Summary
static java.util.List getValues()
          Get this list of supported types.
 

Field Detail

***  This field is subject to change.  ***

SECOND

public static final TimeShiftUnit SECOND
This represents a "second" of time to shift by.


***  This field is subject to change.  ***

MINUTE

public static final TimeShiftUnit MINUTE
This represents a "minute" of time to shift by.


***  This field is subject to change.  ***

HOUR

public static final TimeShiftUnit HOUR
This represents a "hour" of time to shift by.


***  This field is subject to change.  ***

DAY

public static final TimeShiftUnit DAY
This represents a "day" of time to shift by.


***  This field is subject to change.  ***

WEEK

public static final TimeShiftUnit WEEK
This represents a "week" of time to shift by.


***  This field is subject to change.  ***

WEEKDAY

public static final TimeShiftUnit WEEKDAY
This represents a "weekday" of time to shift by.


***  This field is subject to change.  ***

MONTH

public static final TimeShiftUnit MONTH
This represents a "month" of time to shift by.


***  This field is subject to change.  ***

QUARTER

public static final TimeShiftUnit QUARTER
This represents a "quarter" of time to shift by.


***  This field is subject to change.  ***

YEAR

public static final TimeShiftUnit YEAR
This represents a "year" of time to shift by.

Method Detail
***  This method is subject to change.  ***

getValues

public static java.util.List getValues()
Get this list of supported types.

Returns:
copy (modifyable) of the internal list of types.

***  This class is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.