|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.text.Format java.text.DateFormat java.text.SimpleDateFormat infovis.column.format.UTCDateFormat
public class UTCDateFormat
Format for Unix Time Dates.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.text.DateFormat |
---|
DateFormat.Field |
Field Summary |
---|
Fields inherited from class java.text.DateFormat |
---|
AM_PM_FIELD, DATE_FIELD, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, ERA_FIELD, FULL, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR0_FIELD, HOUR1_FIELD, LONG, MEDIUM, MILLISECOND_FIELD, MINUTE_FIELD, MONTH_FIELD, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD |
Constructor Summary | |
---|---|
UTCDateFormat()
Constructor for UTCDateFormat. |
|
UTCDateFormat(String pattern)
Constructor for UTCDateFormat. |
|
UTCDateFormat(String pattern,
DateFormatSymbols formatSymbols)
Constructor for UTCDateFormat. |
|
UTCDateFormat(String pattern,
Locale locale)
Constructor for UTCDateFormat. |
Method Summary | |
---|---|
static UTCDateFormat |
getSharedInstance()
Returns the instance of that format. |
Object |
parseObject(String source)
|
static void |
setSharedInstance(UTCDateFormat format)
Sets the instance of that format. |
Methods inherited from class java.text.SimpleDateFormat |
---|
applyLocalizedPattern, applyPattern, clone, equals, format, formatToCharacterIterator, get2DigitYearStart, getDateFormatSymbols, hashCode, parse, set2DigitYearStart, setDateFormatSymbols, toLocalizedPattern, toPattern |
Methods inherited from class java.text.DateFormat |
---|
format, format, getAvailableLocales, getCalendar, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getNumberFormat, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, isLenient, parse, parseObject, setCalendar, setLenient, setNumberFormat, setTimeZone |
Methods inherited from class java.text.Format |
---|
format |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UTCDateFormat()
public UTCDateFormat(String pattern)
pattern
- the string pattern for that format.public UTCDateFormat(String pattern, Locale locale)
pattern
- the string patternlocale
- the localepublic UTCDateFormat(String pattern, DateFormatSymbols formatSymbols)
pattern
- the string patternformatSymbols
- the format symbolsMethod Detail |
---|
public static UTCDateFormat getSharedInstance()
public static void setSharedInstance(UTCDateFormat format)
format
- the formatpublic Object parseObject(String source) throws ParseException
parseObject
in class Format
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |