Class HttpDateFormat
- java.lang.Object
-
- java.text.Format
-
- java.text.DateFormat
-
- java.text.SimpleDateFormat
-
- 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
Fields Modifier and Type Field Description 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
Constructors Constructor Description HttpDateFormat(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
-
Methods inherited from class java.text.Format
format, parseObject
-
-
-
-
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 themodifcation date pattern
.- Returns:
- a new HttpDateFormat.
-
creationDateFormat
public static HttpDateFormat creationDateFormat()
Creates a new HttpDateFormat using thecreation date pattern
.- Returns:
- a new HttpDateFormat.
-
-