Class HttpDateFormat
- java.lang.Object
-
- java.text.Format
-
- java.text.DateFormat
-
- java.text.SimpleDateFormat
-
- org.apache.jackrabbit.webdav.util.HttpDateFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class HttpDateFormat extends java.text.SimpleDateFormat
HttpDateFormat
...- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CREATION_DATE_PATTERN
Simple date format pattern for the creation date ISO representation (partial).static java.lang.String
MODIFICATION_DATE_PATTERN
Pattern for the modification date as defined by RFC 1123-
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
Constructors Constructor Description HttpDateFormat(java.lang.String pattern)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpDateFormat
creationDateFormat()
Creates a new HttpDateFormat using thecreation date pattern
.static HttpDateFormat
modificationDateFormat()
Creates a new HttpDateFormat using themodifcation 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
-
-
-
-
Field Detail
-
MODIFICATION_DATE_PATTERN
public static final java.lang.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 java.lang.String CREATION_DATE_PATTERN
Simple date format pattern for the creation date ISO representation (partial).- See Also:
- Constant Field Values
-
-
Method Detail
-
modificationDateFormat
public static HttpDateFormat modificationDateFormat()
Creates a new HttpDateFormat using themodifcation date pattern
.- Returns:
- a new HttpDateFormat.
-
creationDateFormat
public static HttpDateFormat creationDateFormat()
Creates a new HttpDateFormat using thecreation date pattern
.- Returns:
- a new HttpDateFormat.
-
-