| 程序包 | 说明 |
|---|---|
| org.h2.mode |
Utility classes for compatibility with other database, for example MySQL.
|
| org.h2.util |
Internal utility classes.
|
| org.h2.value |
Data type and value implementations.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestamp |
ToDateParser.toDate(SessionLocal session,
String input,
String format)
Parse a string as a date with the given format.
|
static ValueTimestamp |
ToDateParser.toDate(SessionLocal session,
String input,
String format)
Parse a string as a date with the given format.
|
static ValueTimestamp |
ToDateParser.toTimestamp(SessionLocal session,
String input,
String format)
Parse a string as a timestamp with the given format.
|
static ValueTimestamp |
ToDateParser.toTimestamp(SessionLocal session,
String input,
String format)
Parse a string as a timestamp with the given format.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestamp |
LegacyDateTimeUtils.fromTimestamp(CastDataProvider provider,
long ms,
int nanos)
Get or create a timestamp value for the given date/time in millis.
|
static ValueTimestamp |
LegacyDateTimeUtils.fromTimestamp(CastDataProvider provider,
long ms,
int nanos)
Get or create a timestamp value for the given date/time in millis.
|
static ValueTimestamp |
LegacyDateTimeUtils.fromTimestamp(CastDataProvider provider,
TimeZone timeZone,
Timestamp timestamp)
Get or create a timestamp value for the given timestamp.
|
static ValueTimestamp |
LegacyDateTimeUtils.fromTimestamp(CastDataProvider provider,
TimeZone timeZone,
Timestamp timestamp)
Get or create a timestamp value for the given timestamp.
|
static ValueTimestamp |
JSR310Utils.localDateTimeToValue(LocalDateTime localDateTime)
Converts a LocalDateTime to a Value.
|
static ValueTimestamp |
JSR310Utils.localDateTimeToValue(LocalDateTime localDateTime)
Converts a LocalDateTime to a Value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestamp |
ValueTimestamp.fromDateValueAndNanos(long dateValue,
long timeNanos)
Get or create a date value for the given date.
|
static ValueTimestamp |
ValueTimestamp.fromDateValueAndNanos(long dateValue,
long timeNanos)
Get or create a date value for the given date.
|
static ValueTimestamp |
ValueTimestamp.parse(String s,
CastDataProvider provider)
Parse a string to a ValueTimestamp, using the given
CastDataProvider. |
static ValueTimestamp |
ValueTimestamp.parse(String s,
CastDataProvider provider)
Parse a string to a ValueTimestamp, using the given
CastDataProvider. |
Copyright © 2022. All rights reserved.