US_TEMPORAL_CONFIG instance provides US specific locale configuration. Databases which have been built for
other locales can utilize custom implementations of TemporalConfig in order to evaluate expressions correctly.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final String[] | |
| private final String | |
| private final char | |
| private final String | |
| private final String | |
| public static final String | |
| public static final String | |
| private final Locale | |
| private final String | |
| private final String | |
| private final String | |
| private final char | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final TemporalConfig | US_TEMPORAL_CONFIG
default implementation which is configured for the US locale |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | TemporalConfig(String
the date (no time) format _dateFormat, String _longDateFormat, String the 12 hour time format _timeFormat12, String the 24 hour time format _timeFormat24, char the primary separator used to separate elements in the date format. this is used to identify
the components of date/time string. _dateSeparator, char the primary separator used to separate elements in the time format (both 12 hour and 24
hour). this is used to identify the components of a date/time string. This value should differ from
the dateSeparator. _timeSeparator, Locale _locale)Instantiates a new TemporalConfig with the given configuration. |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | |
| public String | |
| public char | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public Locale | |
| protected String | |
| protected String | |
| protected String | |
| protected String | |
| public String | |
| public String | |
| public char | |
| private static String |
| mamPmStrings | back to summary |
|---|---|
| private final String[] mamPmStrings | |
| mdateFormat | back to summary |
|---|---|
| private final String mdateFormat | |
| mdateSeparator | back to summary |
|---|---|
| private final char mdateSeparator | |
| mdateTimeFormat12 | back to summary |
|---|---|
| private final String mdateTimeFormat12 | |
| mdateTimeFormat24 | back to summary |
|---|---|
| private final String mdateTimeFormat24 | |
| MEDIUM_DATE_FORMAT | back to summary |
|---|---|
| public static final String MEDIUM_DATE_FORMAT | |
| MEDIUM_TIME_FORMAT | back to summary |
|---|---|
| public static final String MEDIUM_TIME_FORMAT | |
| mlocale | back to summary |
|---|---|
| private final Locale mlocale | |
| mlongDateFormat | back to summary |
|---|---|
| private final String mlongDateFormat | |
| mtimeFormat12 | back to summary |
|---|---|
| private final String mtimeFormat12 | |
| mtimeFormat24 | back to summary |
|---|---|
| private final String mtimeFormat24 | |
| mtimeSeparator | back to summary |
|---|---|
| private final char mtimeSeparator | |
| SHORT_TIME_FORMAT | back to summary |
|---|---|
| public static final String SHORT_TIME_FORMAT | |
| US_DATE_FORMAT | back to summary |
|---|---|
| public static final String US_DATE_FORMAT | |
| US_LONG_DATE_FORMAT | back to summary |
|---|---|
| public static final String US_LONG_DATE_FORMAT | |
| US_TEMPORAL_CONFIG | back to summary |
|---|---|
| public static final TemporalConfig US_TEMPORAL_CONFIG default implementation which is configured for the US locale | |
| US_TIME_FORMAT_12_FORMAT | back to summary |
|---|---|
| public static final String US_TIME_FORMAT_12_FORMAT | |
| US_TIME_FORMAT_24_FORMAT | back to summary |
|---|---|
| public static final String US_TIME_FORMAT_24_FORMAT | |
| TemporalConfig | back to summary |
|---|---|
| public TemporalConfig(String _dateFormat, String _longDateFormat, String _timeFormat12, String _timeFormat24, char _dateSeparator, char _timeSeparator, Locale _locale) Instantiates a new TemporalConfig with the given configuration. Note that the date/time format variants will be created by concatenating the relevant date and time formats, separated by a single space, e.g. "<date> <time>".
| |
| getAmPmStrings | back to summary |
|---|---|
| public String[] getAmPmStrings() | |
| getDateFormat | back to summary |
|---|---|
| public String getDateFormat() | |
| getDateSeparator | back to summary |
|---|---|
| public char getDateSeparator() | |
| getDateTimeFormat | back to summary |
|---|---|
| public String getDateTimeFormat(TemporalConfig. | |
| getDateTimeFormat12 | back to summary |
|---|---|
| public String getDateTimeFormat12() | |
| getDateTimeFormat24 | back to summary |
|---|---|
| public String getDateTimeFormat24() | |
| getDefaultDateFormat | back to summary |
|---|---|
| public String getDefaultDateFormat() | |
| getDefaultDateTimeFormat | back to summary |
|---|---|
| public String getDefaultDateTimeFormat() | |
| getDefaultTimeFormat | back to summary |
|---|---|
| public String getDefaultTimeFormat() | |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() | |
| getLongDateFormat | back to summary |
|---|---|
| protected String getLongDateFormat() | |
| getMediumDateFormat | back to summary |
|---|---|
| protected String getMediumDateFormat() | |
| getMediumTimeFormat | back to summary |
|---|---|
| protected String getMediumTimeFormat() | |
| getShortTimeFormat | back to summary |
|---|---|
| protected String getShortTimeFormat() | |
| getTimeFormat12 | back to summary |
|---|---|
| public String getTimeFormat12() | |
| getTimeFormat24 | back to summary |
|---|---|
| public String getTimeFormat24() | |
| getTimeSeparator | back to summary |
|---|---|
| public char getTimeSeparator() | |
| toDateTimeFormat | back to summary |
|---|---|
| private static String toDateTimeFormat(String dateFormat, String timeFormat) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. | |
| public static final TemporalConfig. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TemporalConfig. | |
| public Value. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public static TemporalConfig. | |
| public static TemporalConfig. |
| DATE | back to summary |
|---|---|
| public static final TemporalConfig. | |
| DATE_TIME | back to summary |
|---|---|
| public static final TemporalConfig. | |
| DATE_TIME_12 | back to summary |
|---|---|
| public static final TemporalConfig. | |
| DATE_TIME_24 | back to summary |
|---|---|
| public static final TemporalConfig. | |
| GENERAL_DATE | back to summary |
|---|---|
| public static final TemporalConfig. | |
| LONG_DATE | back to summary |
|---|---|
| public static final TemporalConfig. | |
| LONG_TIME | back to summary |
|---|---|
| public static final TemporalConfig. | |
| MEDIUM_DATE | back to summary |
|---|---|
| public static final TemporalConfig. | |
| MEDIUM_TIME | back to summary |
|---|---|
| public static final TemporalConfig. | |
| SHORT_DATE | back to summary |
|---|---|
| public static final TemporalConfig. | |
| SHORT_TIME | back to summary |
|---|---|
| public static final TemporalConfig. | |
| TIME | back to summary |
|---|---|
| public static final TemporalConfig. | |
| TIME_12 | back to summary |
|---|---|
| public static final TemporalConfig. | |
| TIME_24 | back to summary |
|---|---|
| public static final TemporalConfig. | |
| Type | back to summary |
|---|---|
| private Type() | |
| getDefaultType | back to summary |
|---|---|
| public TemporalConfig. | |
| getValueType | back to summary |
|---|---|
| public Value. | |
| includesDate | back to summary |
|---|---|
| public boolean includesDate() | |
| includesTime | back to summary |
|---|---|
| public boolean includesTime() | |
| isDateOnly | back to summary |
|---|---|
| public boolean isDateOnly() | |
| isTimeOnly | back to summary |
|---|---|
| public boolean isTimeOnly() | |
| valueOf | back to summary |
|---|---|
| public static TemporalConfig. | |
| values | back to summary |
|---|---|
| public static TemporalConfig. | |