| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | ToDateTokenizer.
Parslet responsible for parsing day parameter |
| public static enum | ToDateTokenizer.
The format tokens. |
| pack-priv static class | ToDateTokenizer.
Parslet responsible for parsing year parameter |
| pack-priv static class | ToDateTokenizer.
Parslet responsible for parsing month parameter |
| pack-priv static class | ToDateTokenizer.
Parslet responsible for parsing time parameter |
| pack-priv static interface | ToDateTokenizer.
Interface of the classes that can parse a specialized small bit of the TO_DATE format-string. |
| pack-priv static class | ToDateTokenizer.
Parslet responsible for parsing year parameter |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final ToDateTokenizer. | PARSLET_DAY
The parslet for a day. |
| pack-priv static final ToDateTokenizer. | PARSLET_INLINE
The inline parslet. |
| pack-priv static final ToDateTokenizer. | PARSLET_MONTH
The parslet for a month. |
| pack-priv static final ToDateTokenizer. | PARSLET_TIME
The parslet for time. |
| pack-priv static final ToDateTokenizer. | PARSLET_YEAR
The parslet for a year. |
| pack-priv static final Pattern | PATTERN_AM_PM
The pattern for "am" or "pm". |
| pack-priv static final Pattern | PATTERN_BC_AD
The pattern for "bc" or "ad". |
| pack-priv static final Pattern | PATTERN_FF
The pattern for a fraction (of a second for example). |
| pack-priv static final Pattern | PATTERN_FOUR_DIGITS
The pattern for four digits (typically a year). |
| pack-priv static final Pattern | PATTERN_INLINE
The pattern for a number. |
| pack-priv static final Pattern | PATTERN_NUMBER
The pattern for a number. |
| pack-priv static final Pattern | PATTERN_ONE_DIGIT
The pattern for one digit. |
| pack-priv static final Pattern | PATTERN_THREE_DIGITS
The pattern for three digits. |
| pack-priv static final Pattern | PATTERN_TWO_DIGITS
The pattern for two digits. |
| pack-priv static final Pattern | PATTERN_TWO_DIGITS_OR_LESS
The pattern for one or two digits. |
| pack-priv static final Pattern | PATTERN_TWO_TO_FOUR_DIGITS
The pattern 2-4 digits (e.g. for RRRR). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | Returns: the matched valuethe pattern p, ToDateParser the parameters with the input string params, Enum<?> the pattern name aEnum)Match the pattern, or if not possible throw an exception. |
| pack-priv static String | Returns: the matched valuethe parameters with the input string params, int the field to set field)Set the given field in the calendar. |
| pack-priv static void | throwException(ToDateParser
the parameters with the input string params, String the error string errorStr)Throw a parse exception. |
| PARSLET_DAY | back to summary |
|---|---|
| pack-priv static final ToDateTokenizer. The parslet for a day. | |
| PARSLET_INLINE | back to summary |
|---|---|
| pack-priv static final ToDateTokenizer. The inline parslet. E.g. 'YYYY-MM-DD"T"HH24:MI:SS"Z"' where "T" and "Z" are inlined | |
| PARSLET_MONTH | back to summary |
|---|---|
| pack-priv static final ToDateTokenizer. The parslet for a month. | |
| PARSLET_TIME | back to summary |
|---|---|
| pack-priv static final ToDateTokenizer. The parslet for time. | |
| PARSLET_YEAR | back to summary |
|---|---|
| pack-priv static final ToDateTokenizer. The parslet for a year. | |
| PATTERN_AM_PM | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_AM_PM The pattern for "am" or "pm". | |
| PATTERN_BC_AD | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_BC_AD The pattern for "bc" or "ad". | |
| PATTERN_FF | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_FF The pattern for a fraction (of a second for example). | |
| PATTERN_FOUR_DIGITS | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_FOUR_DIGITS The pattern for four digits (typically a year). | |
| PATTERN_INLINE | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_INLINE The pattern for a number. | |
| PATTERN_NUMBER | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_NUMBER The pattern for a number. | |
| PATTERN_ONE_DIGIT | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_ONE_DIGIT The pattern for one digit. | |
| PATTERN_THREE_DIGITS | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_THREE_DIGITS The pattern for three digits. | |
| PATTERN_TWO_DIGITS | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_TWO_DIGITS The pattern for two digits. | |
| PATTERN_TWO_DIGITS_OR_LESS | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_TWO_DIGITS_OR_LESS The pattern for one or two digits. | |
| PATTERN_TWO_TO_FOUR_DIGITS | back to summary |
|---|---|
| pack-priv static final Pattern PATTERN_TWO_TO_FOUR_DIGITS The pattern 2-4 digits (e.g. for RRRR). | |
| ToDateTokenizer | back to summary |
|---|---|
| private ToDateTokenizer() | |
| matchStringOrThrow | back to summary |
|---|---|
| pack-priv static String matchStringOrThrow(Pattern p, ToDateParser params, Enum<?> aEnum) Match the pattern, or if not possible throw an exception.
| |
| setByName | back to summary |
|---|---|
| pack-priv static String setByName(ToDateParser params, int field) Set the given field in the calendar.
| |
| throwException | back to summary |
|---|---|
| pack-priv static void throwException(ToDateParser params, String errorStr) Throw a parse exception.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(ToDateParser
the parameters that contains the string params, ToDateTokenizer.the format formatTokenEnum,the format string formatTokenStr)Implements org. Parse a date part. |
| DayParslet | back to summary |
|---|---|
| pack-priv DayParslet() | |
| parse | back to summary |
|---|---|
| public void parse(ToDateParser params, ToDateTokenizer. Implements org. Doc from org. Parse a date part.
| |
| Access | Constructor and Description |
|---|---|
| private | FormatTokenEnum(ToDateTokenizer.
the date parslet toDateParslet,the pattern patternToUse)Construct a format token. |
| private | FormatTokenEnum(ToDateTokenizer.
the date parslet toDateParsletConstruct a format token. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static List | Returns: the list of tokens, ornullthe format string formatStr)Optimization: Only return a list of |
| pack-priv boolean | Returns: true if it matchesthe parameters params)Parse the format-string with passed token of |
| private static void | putToCache(List<ToDateTokenizer.
|
| public static ToDateTokenizer. | |
| public static ToDateTokenizer. |
| AM_PM | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| BC_AD | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| CC | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| D | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| DAY | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| DD | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| DDD | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| DY | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| E | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| EE | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| FF | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| HH | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| HH12 | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| HH24 | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| INLINE | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| INLINE_LIST | back to summary |
|---|---|
| private static final List<ToDateTokenizer. | |
| J | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| MI | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| MM | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| MON | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| MONTH | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| patternToUse | back to summary |
|---|---|
| private final Pattern patternToUse | |
| Q | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| RM | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| RR | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| RRRR | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| SCC | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| SS | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| SSSSS | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| SYYYY | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| toDateParslet | back to summary |
|---|---|
| private final ToDateTokenizer. | |
| TOKENS | back to summary |
|---|---|
| private static final List<ToDateTokenizer. | |
| TZD | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| TZH | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| TZM | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| TZR | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| Y | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| YY | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| YYY | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| YYYY | back to summary |
|---|---|
| public static final ToDateTokenizer. | |
| FormatTokenEnum | back to summary |
|---|---|
| private FormatTokenEnum(ToDateTokenizer. Construct a format token.
| |
| FormatTokenEnum | back to summary |
|---|---|
| private FormatTokenEnum(ToDateTokenizer. Construct a format token.
| |
| getTokensInQuestion | back to summary |
|---|---|
| pack-priv static List Optimization: Only return a list of
| |
| parseFormatStrWithToken | back to summary |
|---|---|
| pack-priv boolean parseFormatStrWithToken(ToDateParser params) Parse the format-string with passed token of
| |
| putToCache | back to summary |
|---|---|
| private static void putToCache(List<ToDateTokenizer. | |
| valueOf | back to summary |
|---|---|
| public static ToDateTokenizer. | |
| values | back to summary |
|---|---|
| public static ToDateTokenizer. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(ToDateParser
the parameters that contains the string params, ToDateTokenizer.the format formatTokenEnum,the format string formatTokenStr)Implements org. Parse a date part. |
| InlineParslet | back to summary |
|---|---|
| pack-priv InlineParslet() | |
| parse | back to summary |
|---|---|
| public void parse(ToDateParser params, ToDateTokenizer. Implements org. Doc from org. Parse a date part.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(ToDateParser
the parameters that contains the string params, ToDateTokenizer.the format formatTokenEnum,the format string formatTokenStr)Implements org. Parse a date part. |
| ROMAN_MONTH | back to summary |
|---|---|
| private static final String[] ROMAN_MONTH | |
| MonthParslet | back to summary |
|---|---|
| pack-priv MonthParslet() | |
| parse | back to summary |
|---|---|
| public void parse(ToDateParser params, ToDateTokenizer. Implements org. Doc from org. Parse a date part.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(ToDateParser
the parameters that contains the string params, ToDateTokenizer.the format formatTokenEnum,the format string formatTokenStr)Implements org. Parse a date part. |
| TimeParslet | back to summary |
|---|---|
| pack-priv TimeParslet() | |
| parse | back to summary |
|---|---|
| public void parse(ToDateParser params, ToDateTokenizer. Implements org. Doc from org. Parse a date part.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(ToDateParser
the parameters that contains the string params, ToDateTokenizer.the format formatTokenEnum,the format string formatTokenStr)Parse a date part. |
| parse | back to summary |
|---|---|
| public void parse(ToDateParser params, ToDateTokenizer. Parse a date part.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | parse(ToDateParser
the parameters that contains the string params, ToDateTokenizer.the format formatTokenEnum,the format string formatTokenStr)Implements org. Parse a date part. |
| YearParslet | back to summary |
|---|---|
| pack-priv YearParslet() | |
| parse | back to summary |
|---|---|
| public void parse(ToDateParser params, ToDateTokenizer. Implements org. Doc from org. Parse a date part.
| |