com.sas.dataselectors.filters
Class DateAndTimeUtil

com.sas.dataselectors.filters.DateAndTimeUtil

public class DateAndTimeUtil

TODO JavaDoc this class


Field Summary
static java.util.TimeZone GMT_ZONE
           
 
Constructor Summary
DateAndTimeUtil()
           
DateAndTimeUtil(java.util.Locale locale)
           
 
Method Summary
 java.util.Date createJavaDateFromSASDate(double value)
           
 java.util.Date createJavaDateFromSASDateTime(double value)
           
 java.util.Date createJavaDateFromSASTime(double value)
           
 com.sas.text.SASDateTimeFormat getDateFormatter()
           
 com.sas.text.SASDateTimeFormat getDateTimeFormatter()
           
static java.lang.String getFilterItemSASFormatText(java.lang.Object item)
           
 java.util.Locale getLocale()
          Returns the Locale value set for this instance of the factory.
 com.sas.text.SASDateTimeFormat getTimeFormatter()
           
 void setLocale(java.util.Locale value)
           
 

Field Detail

GMT_ZONE

public static final java.util.TimeZone GMT_ZONE
Constructor Detail

DateAndTimeUtil

public DateAndTimeUtil()

DateAndTimeUtil

public DateAndTimeUtil(java.util.Locale locale)
Method Detail

setLocale

public void setLocale(java.util.Locale value)

getLocale

public java.util.Locale getLocale()
Returns the Locale value set for this instance of the factory.

Returns:
the current locale

getTimeFormatter

public com.sas.text.SASDateTimeFormat getTimeFormatter()

getDateFormatter

public com.sas.text.SASDateTimeFormat getDateFormatter()

getDateTimeFormatter

public com.sas.text.SASDateTimeFormat getDateTimeFormatter()

createJavaDateFromSASTime

public java.util.Date createJavaDateFromSASTime(double value)

createJavaDateFromSASDate

public java.util.Date createJavaDateFromSASDate(double value)

createJavaDateFromSASDateTime

public java.util.Date createJavaDateFromSASDateTime(double value)

getFilterItemSASFormatText

public static java.lang.String getFilterItemSASFormatText(java.lang.Object item)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.