| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final int | |
| private static final String[] | |
| private static final int | |
| private static final Log | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| pack-priv static String | |
| pack-priv static GregorianCalendar | |
| private static GregorianCalendar | |
| private static Calendar | |
| private static GregorianCalendar | |
| private static int | |
| pack-priv static boolean | |
| private static int | |
| private static char | |
| private static boolean | |
| public static Calendar | Returns: The Calendar that the text string represents, ornull if it cannot be parsed.A COS string containing a date. text)Returns the Calendar for a given COS string containing a date,
or |
| public static Calendar | Returns: The Calendar that the text string represents, ornull if it cannot be parsed.A COS string containing a date. text)Returns the Calendar for a given string containing a date,
or |
| public static String | |
| public static String | Returns: The date as a String to be used in a PDF document, or null if the cal value is nullThe date to convert to a string. May be null.
The DST_OFFSET is included when computing the output time zone. cal)Converts a Calendar to a string formatted as: D:yyyyMMddHHmmss#hh'mm' where # is Z, +, or -. |
| private static void |
| ALPHA_START_FORMATS | back to summary |
|---|---|
| private static final String[] ALPHA_START_FORMATS | |
| DAY | back to summary |
|---|---|
| private static final int DAY | |
| DIGIT_START_FORMATS | back to summary |
|---|---|
| private static final String[] DIGIT_START_FORMATS | |
| HALF_DAY | back to summary |
|---|---|
| private static final int HALF_DAY | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| MILLIS_PER_HOUR | back to summary |
|---|---|
| private static final int MILLIS_PER_HOUR | |
| MILLIS_PER_MINUTE | back to summary |
|---|---|
| private static final int MILLIS_PER_MINUTE | |
| MINUTES_PER_HOUR | back to summary |
|---|---|
| private static final int MINUTES_PER_HOUR | |
| SECONDS_PER_MINUTE | back to summary |
|---|---|
| private static final int SECONDS_PER_MINUTE | |
| DateConverter | back to summary |
|---|---|
| private DateConverter() | |
| adjustTimeZoneNicely | back to summary |
|---|---|
| private static void adjustTimeZoneNicely(GregorianCalendar cal, TimeZone tz) | |
| formatTZoffset | back to summary |
|---|---|
| pack-priv static String formatTZoffset(long millis, String sep) | |
| newGreg | back to summary |
|---|---|
| pack-priv static GregorianCalendar newGreg() | |
| parseBigEndianDate | back to summary |
|---|---|
| private static GregorianCalendar parseBigEndianDate(String text, ParsePosition initialWhere) | |
| parseDate | back to summary |
|---|---|
| private static Calendar parseDate(String text, ParsePosition initialWhere) | |
| parseSimpleDate | back to summary |
|---|---|
| private static GregorianCalendar parseSimpleDate(String text, String[] fmts, ParsePosition initialWhere) | |
| parseTimeField | back to summary |
|---|---|
| private static int parseTimeField(String text, ParsePosition where, int maxlen, int remedy) | |
| parseTZoffset | back to summary |
|---|---|
| pack-priv static boolean parseTZoffset(String text, GregorianCalendar cal, ParsePosition initialWhere) | |
| restrainTZoffset | back to summary |
|---|---|
| private static int restrainTZoffset(long proposedOffset) | |
| skipOptionals | back to summary |
|---|---|
| private static char skipOptionals(String text, ParsePosition where, String optionals) | |
| skipString | back to summary |
|---|---|
| private static boolean skipString(String text, String victim, ParsePosition where) | |
| toCalendar | back to summary |
|---|---|
| public static Calendar toCalendar(COSString text) Returns the Calendar for a given COS string containing a date,
or | |
| toCalendar | back to summary |
|---|---|
| public static Calendar toCalendar(String text) Returns the Calendar for a given string containing a date,
or | |
| toISO8601 | back to summary |
|---|---|
| public static String toISO8601(Calendar cal) Converts the date to ISO 8601 string format: yyyy-mm-ddThh:MM:ss#hh:mm (where '#" is '+' or '-'). | |
| toString | back to summary |
|---|---|
| public static String toString(Calendar cal) Converts a Calendar to a string formatted as: D:yyyyMMddHHmmss#hh'mm' where # is Z, +, or -. | |
| updateZoneId | back to summary |
|---|---|
| private static void updateZoneId(TimeZone tz) Update the zone ID based on the raw offset. This is either GMT, GMT+hh:mm or GMT-hh:mm, where n is between 1 and 14. The highest negative hour is -14, the highest positive hour is 12. Zones that don't fit in this schema are set to zone ID "unknown".
| |