| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static String | currentDate
Current formatted date. |
| private static volatile long | currentDateGenerated
Instant on which the currentDate object was generated. |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final ConcurrentDateFormat | |
| private static final ConcurrentDateFormat | |
| private static final ConcurrentDateFormat | |
| private static final Map | formatCache
Formatter cache. |
| private static final ConcurrentDateFormat[] | |
| private static final Map | parseCache
Parser cache. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| public static long | |
| private static void | |
| private static void |
| CACHE_SIZE | back to summary |
|---|---|
| private static final int CACHE_SIZE | |
| currentDate | back to summary |
|---|---|
| private static String currentDate Current formatted date. | |
| currentDateGenerated | back to summary |
|---|---|
| private static volatile long currentDateGenerated Instant on which the currentDate object was generated. | |
| DATE_OBSOLETE_ASCTIME | back to summary |
|---|---|
| private static final String DATE_OBSOLETE_ASCTIME | |
| DATE_OBSOLETE_RFC850 | back to summary |
|---|---|
| private static final String DATE_OBSOLETE_RFC850 | |
| DATE_RFC5322 | back to summary |
|---|---|
| private static final String DATE_RFC5322 | |
| FORMAT_OBSOLETE_ASCTIME | back to summary |
|---|---|
| private static final ConcurrentDateFormat FORMAT_OBSOLETE_ASCTIME | |
| FORMAT_OBSOLETE_RFC850 | back to summary |
|---|---|
| private static final ConcurrentDateFormat FORMAT_OBSOLETE_RFC850 | |
| FORMAT_RFC5322 | back to summary |
|---|---|
| private static final ConcurrentDateFormat FORMAT_RFC5322 | |
| formatCache | back to summary |
|---|---|
| private static final Map<Long, String> formatCache Formatter cache. | |
| httpParseFormats | back to summary |
|---|---|
| private static final ConcurrentDateFormat[] httpParseFormats | |
| parseCache | back to summary |
|---|---|
| private static final Map<String, Long> parseCache Parser cache. | |
| FastHttpDateFormat | back to summary |
|---|---|
| public FastHttpDateFormat() | |
| formatDate | back to summary |
|---|---|
| public static String formatDate(long value) Get the HTTP format of the specified date.
| |
| getCurrentDate | back to summary |
|---|---|
| public static String getCurrentDate() Get the current date in HTTP format.
| |
| parseDate | back to summary |
|---|---|
| public static long parseDate(String value) Try to parse the given date as an HTTP date.
| |
| updateFormatCache | back to summary |
|---|---|
| private static void updateFormatCache(Long key, String value) Update cache. | |
| updateParseCache | back to summary |
|---|---|
| private static void updateParseCache(String key, Long value) Update cache. | |