org.apache.jackrabbit.webdav.util
Class HttpDateFormat

java.lang.Object
  extended by java.text.Format
      extended by java.text.DateFormat
          extended by java.text.SimpleDateFormat
              extended by org.apache.jackrabbit.webdav.util.HttpDateFormat
All Implemented Interfaces:
Serializable, Cloneable

public class HttpDateFormat
extends SimpleDateFormat

HttpDateFormat...

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.DateFormat
DateFormat.Field
 
Field Summary
static String CREATION_DATE_PATTERN
          Simple date format pattern for the creation date ISO representation (partial).
static String MODIFICATION_DATE_PATTERN
          Pattern for the modification date as defined by RFC 1123
 
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
HttpDateFormat(String pattern)
           
 
Method Summary
static HttpDateFormat creationDateFormat()
          Creates a new HttpDateFormat using the creation date pattern.
static HttpDateFormat modificationDateFormat()
          Creates a new HttpDateFormat using the modifcation date pattern.
 
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, parseObject
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODIFICATION_DATE_PATTERN

public static final String MODIFICATION_DATE_PATTERN
Pattern for the modification date as defined by RFC 1123

See Also:
Constant Field Values

CREATION_DATE_PATTERN

public static final String CREATION_DATE_PATTERN
Simple date format pattern for the creation date ISO representation (partial).

See Also:
Constant Field Values
Constructor Detail

HttpDateFormat

public HttpDateFormat(String pattern)
Method Detail

modificationDateFormat

public static HttpDateFormat modificationDateFormat()
Creates a new HttpDateFormat using the modifcation date pattern.

Returns:
a new HttpDateFormat.

creationDateFormat

public static HttpDateFormat creationDateFormat()
Creates a new HttpDateFormat using the creation date pattern.

Returns:
a new HttpDateFormat.


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.