public class HttpDateFormat extends SimpleDateFormat
HttpDateFormat
...DateFormat.Field
Modifier and Type | Field and 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
|
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 and Description |
---|
HttpDateFormat(String pattern) |
Modifier and Type | Method and Description |
---|---|
static HttpDateFormat |
creationDateFormat()
Creates a new HttpDateFormat using the
creation date pattern . |
static HttpDateFormat |
modificationDateFormat()
Creates a new HttpDateFormat using the
modifcation date pattern . |
applyLocalizedPattern, applyPattern, clone, equals, format, formatToCharacterIterator, get2DigitYearStart, getDateFormatSymbols, hashCode, parse, set2DigitYearStart, setDateFormatSymbols, toLocalizedPattern, toPattern
format, format, getAvailableLocales, getCalendar, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getNumberFormat, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, isLenient, parse, parseObject, setCalendar, setLenient, setNumberFormat, setTimeZone
format, parseObject
public static final String MODIFICATION_DATE_PATTERN
public static final String CREATION_DATE_PATTERN
public HttpDateFormat(String pattern)
public static HttpDateFormat modificationDateFormat()
modifcation date pattern
.public static HttpDateFormat creationDateFormat()
creation date pattern
.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.