| Modifier and Type | Class and Description |
|---|---|
| private static enum | ToDateParser.
The configuration of the date parser. |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private boolean | |
| private boolean | |
| private int | |
| private int | |
| private int | |
| private int | |
| private boolean | |
| private String | |
| private final ToDateParser. | |
| private int | |
| private int | |
| private boolean | |
| private String | |
| private boolean | |
| private int | |
| private int | |
| private int | |
| private int | |
| private final SessionLocal | |
| private TimeZoneProvider | |
| private boolean | |
| private int | |
| private int | |
| private final String | |
| private final String | |
| private int |
| Access | Constructor and Description |
|---|---|
| private | ToDateParser(SessionLocal
the database session session, ToDateParser.one of [TO_DATE, TO_TIMESTAMP] (both share the same
code) functionName,the input date with the date-time info input, String the format of date-time info format)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| private ValueTimestamp | |
| private ValueTimestampTimeZone | |
| private static ToDateParser | getTimestampParser(SessionLocal session, ToDateParser.
|
| private boolean | |
| private static ToDateParser | |
| private void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public static ValueTimestamp | Returns: the date as a timestampthe database session session, String the input input, String the format format)Parse a string as a date with the given format. |
| public String | |
| public static ValueTimestamp | Returns: the timestampthe database session session, String the input input, String the format format)Parse a string as a timestamp with the given format. |
| public static ValueTimestampTimeZone | Returns: the timestampthe database session session, String the input input, String the format format)Parse a string as a timestamp with the given format. |
| absoluteDay | back to summary |
|---|---|
| private long absoluteDay | |
| absoluteDayValid | back to summary |
|---|---|
| private boolean absoluteDayValid | |
| bc | back to summary |
|---|---|
| private boolean bc | |
| currentMonth | back to summary |
|---|---|
| private int currentMonth | |
| currentYear | back to summary |
|---|---|
| private int currentYear | |
| day | back to summary |
|---|---|
| private int day | |
| dayOfYear | back to summary |
|---|---|
| private int dayOfYear | |
| doyValid | back to summary |
|---|---|
| private boolean doyValid | |
| formatStr | back to summary |
|---|---|
| private String formatStr | |
| functionName | back to summary |
|---|---|
| private final ToDateParser. | |
| hour | back to summary |
|---|---|
| private int hour | |
| hour12 | back to summary |
|---|---|
| private int hour12 | |
| hour12Valid | back to summary |
|---|---|
| private boolean hour12Valid | |
| inputStr | back to summary |
|---|---|
| private String inputStr | |
| isAM | back to summary |
|---|---|
| private boolean isAM | |
| minute | back to summary |
|---|---|
| private int minute | |
| month | back to summary |
|---|---|
| private int month | |
| nanos | back to summary |
|---|---|
| private int nanos | |
| second | back to summary |
|---|---|
| private int second | |
| session | back to summary |
|---|---|
| private final SessionLocal session | |
| timeZone | back to summary |
|---|---|
| private TimeZoneProvider timeZone | |
| timeZoneHMValid | back to summary |
|---|---|
| private boolean timeZoneHMValid | |
| timeZoneHour | back to summary |
|---|---|
| private int timeZoneHour | |
| timeZoneMinute | back to summary |
|---|---|
| private int timeZoneMinute | |
| unmodifiedFormatStr | back to summary |
|---|---|
| private final String unmodifiedFormatStr | |
| unmodifiedInputStr | back to summary |
|---|---|
| private final String unmodifiedInputStr | |
| year | back to summary |
|---|---|
| private int year | |
| ToDateParser | back to summary |
|---|---|
private ToDateParser(SessionLocal session, ToDateParser.
| |
| getCurrentMonth | back to summary |
|---|---|
| pack-priv int getCurrentMonth() | |
| getCurrentYear | back to summary |
|---|---|
| pack-priv int getCurrentYear() | |
| getFormatStr | back to summary |
|---|---|
| pack-priv String getFormatStr() | |
| getFunctionName | back to summary |
|---|---|
| pack-priv String getFunctionName() | |
| getInputStr | back to summary |
|---|---|
| pack-priv String getInputStr() | |
| getResultingValue | back to summary |
|---|---|
| private ValueTimestamp getResultingValue() | |
| getResultingValueWithTimeZone | back to summary |
|---|---|
| private ValueTimestampTimeZone getResultingValueWithTimeZone() | |
| getTimestampParser | back to summary |
|---|---|
| private static ToDateParser getTimestampParser(SessionLocal session, ToDateParser. | |
| hasToParseData | back to summary |
|---|---|
| private boolean hasToParseData() | |
| parse | back to summary |
|---|---|
| private static ToDateParser parse(ToDateParser p) | |
| queryCurrentYearAndMonth | back to summary |
|---|---|
| private void queryCurrentYearAndMonth() | |
| remove | back to summary |
|---|---|
| pack-priv void remove(String inputFragmentStr, String formatFragment) Remove a token from a string. | |
| removeFirstChar | back to summary |
|---|---|
| private void removeFirstChar() | |
| setAbsoluteDay | back to summary |
|---|---|
| pack-priv void setAbsoluteDay(int absoluteDay) | |
| setAmPm | back to summary |
|---|---|
| pack-priv void setAmPm(boolean isAM) | |
| setBC | back to summary |
|---|---|
| pack-priv void setBC(boolean bc) | |
| setDay | back to summary |
|---|---|
| pack-priv void setDay(int day) | |
| setDayOfYear | back to summary |
|---|---|
| pack-priv void setDayOfYear(int dayOfYear) | |
| setHour | back to summary |
|---|---|
| pack-priv void setHour(int hour) | |
| setHour12 | back to summary |
|---|---|
| pack-priv void setHour12(int hour12) | |
| setMinute | back to summary |
|---|---|
| pack-priv void setMinute(int minute) | |
| setMonth | back to summary |
|---|---|
| pack-priv void setMonth(int month) | |
| setNanos | back to summary |
|---|---|
| pack-priv void setNanos(int nanos) | |
| setSecond | back to summary |
|---|---|
| pack-priv void setSecond(int second) | |
| setTimeZone | back to summary |
|---|---|
| pack-priv void setTimeZone(TimeZoneProvider timeZone) | |
| setTimeZoneHour | back to summary |
|---|---|
| pack-priv void setTimeZoneHour(int timeZoneHour) | |
| setTimeZoneMinute | back to summary |
|---|---|
| pack-priv void setTimeZoneMinute(int timeZoneMinute) | |
| setYear | back to summary |
|---|---|
| pack-priv void setYear(int year) | |
| toDate | back to summary |
|---|---|
| public static ValueTimestamp toDate(SessionLocal session, String input, String format) Parse a string as a date with the given format.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| toTimestamp | back to summary |
|---|---|
| public static ValueTimestamp toTimestamp(SessionLocal session, String input, String format) Parse a string as a timestamp with the given format.
| |
| toTimestampTz | back to summary |
|---|---|
| public static ValueTimestampTimeZone toTimestampTz(SessionLocal session, String input, String format) Parse a string as a timestamp with the given format.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final ToDateParser. | |
| public static final ToDateParser. | |
| public static final ToDateParser. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | |
| public static ToDateParser. | |
| public static ToDateParser. |
| defaultFormatStr | back to summary |
|---|---|
| private final String defaultFormatStr | |
| TO_DATE | back to summary |
|---|---|
| public static final ToDateParser. | |
| TO_TIMESTAMP | back to summary |
|---|---|
| public static final ToDateParser. | |
| TO_TIMESTAMP_TZ | back to summary |
|---|---|
| public static final ToDateParser. | |
| ConfigParam | back to summary |
|---|---|
| private ConfigParam(String defaultFormatStr) | |
| getDefaultFormatStr | back to summary |
|---|---|
| pack-priv String getDefaultFormatStr() | |
| valueOf | back to summary |
|---|---|
| public static ToDateParser. | |
| values | back to summary |
|---|---|
| public static ToDateParser. | |