| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static final ThreadLocal | |
| private static final TimeZone | |
| private final StringBuilder | |
| pack-priv static final String[] | |
| private final GregorianCalendar | |
| pack-priv static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | doFormatCookieDate(StringBuilder
the buffer to format the date into buf, long the date in milliseconds date)Format "EEE, dd-MMM-yy HH:mm:ss 'GMT'" for cookies |
| public String | Returns: the formatted datethe date in milliseconds date)Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'" |
| public static String | Returns: the formatted datethe date in milliseconds date)Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'" |
| public static String | Returns: the formatted datethe date/time instant instant)Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'" |
| __01Jan1970 | back to summary |
|---|---|
| public static final String __01Jan1970 | |
| __dateGenerator | back to summary |
|---|---|
| private static final ThreadLocal<DateGenerator> __dateGenerator | |
| __GMT | back to summary |
|---|---|
| private static final TimeZone __GMT | |
| buf | back to summary |
|---|---|
| private final StringBuilder buf | |
| DAYS | back to summary |
|---|---|
| pack-priv static final String[] DAYS | |
| gc | back to summary |
|---|---|
| private final GregorianCalendar gc | |
| MONTHS | back to summary |
|---|---|
| pack-priv static final String[] MONTHS | |
| DateGenerator | back to summary |
|---|---|
| public DateGenerator() | |
| doFormatCookieDate | back to summary |
|---|---|
| public void doFormatCookieDate(StringBuilder buf, long date) Format "EEE, dd-MMM-yy HH:mm:ss 'GMT'" for cookies
| |
| doFormatDate | back to summary |
|---|---|
| public String doFormatDate(long date) Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'"
| |
| formatDate | back to summary |
|---|---|
| public static String formatDate(long date) Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'"
| |
| formatDate | back to summary |
|---|---|
| public static String formatDate(Instant instant) Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'" | |