| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | DateFormat.
This class can match 64 tokens at maximum. |
| Modifier and Type | Field and Description |
|---|---|
| private static final char[][] | |
| private static final char | e
Indicates end-of-input |
| private static final char[] | |
| private static final String[] | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static TimestampData | |
| public static TimestampData | |
| public static String | |
| public static String | |
| public static DateTimeFormatter | |
| public static String | toJavaDatePattern(String
date format format, boolean false for formatting parse)Converts the given format into a pattern accepted by |
| dateTokens | back to summary |
|---|---|
| private static final char[][] dateTokens | |
| e | back to summary |
|---|---|
| private static final char e Indicates end-of-input | |
| fixedFraction | back to summary |
|---|---|
| private static final char[] fixedFraction | |
| javaDateTokens | back to summary |
|---|---|
| private static final String[] javaDateTokens | |
| javaPrefix | back to summary |
|---|---|
| private static final String javaPrefix | |
| variableFraction | back to summary |
|---|---|
| private static final String variableFraction | |
| DateFormat | back to summary |
|---|---|
| public DateFormat() | |
| toDate | back to summary |
|---|---|
| public static TimestampData toDate(DateTimeType dataType, String string, DateTimeFormatter formatter) | |
| toDate | back to summary |
|---|---|
| public static TimestampData toDate(DateTimeType dataType, String string, String pattern) | |
| toFormattedDate | back to summary |
|---|---|
| public static String toFormattedDate(DateTimeType dataType, Object dateTime, DateTimeFormatter formatter) | |
| toFormattedDate | back to summary |
|---|---|
| public static String toFormattedDate(DateTimeType dataType, Object dateTime, String pattern) | |
| toFormatter | back to summary |
|---|---|
| public static DateTimeFormatter toFormatter(String pattern, boolean parse) | |
| toJavaDatePattern | back to summary |
|---|---|
| public static String toJavaDatePattern(String format, boolean parse) Converts the given format into a pattern accepted by
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static char[] | |
| private boolean | |
| private int | |
| private final char[] | |
| private boolean | |
| private int | |
| private int | |
| private final char | |
| private long | |
| private final char[][] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| private boolean | |
| public int | |
| public boolean | |
| public void | |
| private void | |
| public boolean |
| consumed | back to summary |
|---|---|
| private boolean consumed | |
| defaultLiterals | back to summary |
|---|---|
| private static char[] defaultLiterals | |
| isInQuotes | back to summary |
|---|---|
| private boolean isInQuotes | |
| lastMatched | back to summary |
|---|---|
| private int lastMatched | |
| literalChars | back to summary |
|---|---|
| private final char[] literalChars | |
| matched | back to summary |
|---|---|
| private boolean matched | |
| matchOffset | back to summary |
|---|---|
| private int matchOffset | |
| offset | back to summary |
|---|---|
| private int offset | |
| quoteChar | back to summary |
|---|---|
| private final char quoteChar | |
| state | back to summary |
|---|---|
| private long state | |
| tokens | back to summary |
|---|---|
| private final char[][] tokens | |
| Tokenizer | back to summary |
|---|---|
| public Tokenizer() | |
| getLastMatch | back to summary |
|---|---|
| public int getLastMatch() Returns an index of the last matched token. | |
| isConsumed | back to summary |
|---|---|
| public boolean isConsumed() Indicates whether the last character has been consumed by the matcher. | |
| isInQuotes | back to summary |
|---|---|
| public boolean isInQuotes() Indicates if tokenizing a quoted string | |
| isLiteral | back to summary |
|---|---|
| public boolean isLiteral(char ch) Returns true if ch is in the list of literals | |
| isQuoteChar | back to summary |
|---|---|
| public boolean isQuoteChar(char ch) returns true if character is the quote char and sets state | |
| isZeroBit | back to summary |
|---|---|
| private boolean isZeroBit(int bit) Checks whether the specified bit is not set.
| |
| length | back to summary |
|---|---|
| public int length() Returns the length of a token to match. | |
| next | back to summary |
|---|---|
| public boolean next(char ch, int position) Matches the specified character against tokens.
| |
| reset | back to summary |
|---|---|
| public void reset() Resets for next reuse. | |
| setBit | back to summary |
|---|---|
| private void setBit(int bit) Sets the specified bit.
| |
| wasMatched | back to summary |
|---|---|
| public boolean wasMatched() Indicates whether the last character has been matched by the matcher. | |