dsto.dfc.text
Class InputDateFormat

java.lang.Object
  extended by java.text.Format
      extended by java.text.DateFormat
          extended by java.text.SimpleDateFormat
              extended by dsto.dfc.text.MultiDateFormat
                  extended by dsto.dfc.text.InputDateFormat
All Implemented Interfaces:
Serializable, Cloneable

public class InputDateFormat
extends MultiDateFormat

An date format that makes for use as an input format. Supports dates like "Sep 17, 2004 12:00:01", and shorter forms.

Examples:

   25/12/2004 12:00:00 (and shorter)
   Sep 16, 2004 12:00:00 (and shorter)
 

Author:
Matthew Phillips
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.DateFormat
DateFormat.Field
 
Field Summary
protected static SimpleDateFormat[] format
           
 
Fields inherited from class dsto.dfc.text.MultiDateFormat
defaultFormat, parseFormat
 
Fields inherited from class java.text.DateFormat
AM_PM_FIELD, calendar, 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, numberFormat, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD
 
Constructor Summary
InputDateFormat()
           
 
Method Summary
 
Methods inherited from class dsto.dfc.text.MultiDateFormat
format, parse, parseObject, setDefaultFormat
 
Methods inherited from class java.text.SimpleDateFormat
applyLocalizedPattern, applyPattern, clone, equals, formatToCharacterIterator, get2DigitYearStart, getDateFormatSymbols, hashCode, 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
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

format

protected static SimpleDateFormat[] format
Constructor Detail

InputDateFormat

public InputDateFormat()


Copyright © 2008 Commonwealth of Australia