| 程序包 | 说明 |
|---|---|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.expression.function |
Functions.
|
| org.h2.jdbc |
Implementation of the JDBC API (package java.sql).
|
| 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ValueTimestampTimeZone |
CastDataProvider.currentTimestamp()
Returns the current timestamp with maximum resolution.
|
ValueTimestampTimeZone |
Database.currentTimestamp() |
ValueTimestampTimeZone |
SessionLocal.currentTimestamp() |
ValueTimestampTimeZone |
SessionRemote.currentTimestamp() |
ValueTimestampTimeZone |
SessionRemote.currentTimestamp() |
ValueTimestampTimeZone |
SessionLocal.currentTimestamp() |
ValueTimestampTimeZone |
Database.currentTimestamp() |
ValueTimestampTimeZone |
CastDataProvider.currentTimestamp()
Returns the current timestamp with maximum resolution.
|
ValueTimestampTimeZone |
SessionLocal.getCommandStartOrEnd() |
ValueTimestampTimeZone |
SessionLocal.getCommandStartOrEnd() |
ValueTimestampTimeZone |
SessionLocal.getSessionStart() |
ValueTimestampTimeZone |
SessionLocal.getSessionStart() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestampTimeZone |
DateTimeFormatFunction.parseDateTime(SessionLocal session,
String date,
String format,
String locale,
String timeZone)
Parses a date using a format string.
|
static ValueTimestampTimeZone |
DateTimeFormatFunction.parseDateTime(SessionLocal session,
String date,
String format,
String locale,
String timeZone)
Parses a date using a format string.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ValueTimestampTimeZone |
JdbcConnection.currentTimestamp() |
ValueTimestampTimeZone |
JdbcConnection.currentTimestamp() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestampTimeZone |
ToDateParser.toTimestampTz(SessionLocal session,
String input,
String format)
Parse a string as a timestamp with the given format.
|
static ValueTimestampTimeZone |
ToDateParser.toTimestampTz(SessionLocal session,
String input,
String format)
Parse a string as a timestamp with the given format.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestampTimeZone |
DateTimeUtils.currentTimestamp(TimeZoneProvider timeZone)
Returns current timestamp.
|
static ValueTimestampTimeZone |
DateTimeUtils.currentTimestamp(TimeZoneProvider timeZone)
Returns current timestamp.
|
static ValueTimestampTimeZone |
DateTimeUtils.currentTimestamp(TimeZoneProvider timeZone,
Instant now)
Returns current timestamp using the specified instant for its value.
|
static ValueTimestampTimeZone |
DateTimeUtils.currentTimestamp(TimeZoneProvider timeZone,
Instant now)
Returns current timestamp using the specified instant for its value.
|
static ValueTimestampTimeZone |
JSR310Utils.instantToValue(Instant instant)
Converts a Instant to a Value.
|
static ValueTimestampTimeZone |
JSR310Utils.instantToValue(Instant instant)
Converts a Instant to a Value.
|
static ValueTimestampTimeZone |
JSR310Utils.offsetDateTimeToValue(OffsetDateTime offsetDateTime)
Converts a OffsetDateTime to a Value.
|
static ValueTimestampTimeZone |
JSR310Utils.offsetDateTimeToValue(OffsetDateTime offsetDateTime)
Converts a OffsetDateTime to a Value.
|
static ValueTimestampTimeZone |
DateTimeUtils.timestampTimeZoneAtOffset(long dateValue,
long timeNanos,
int oldOffset,
int newOffset)
Moves timestamp with time zone to a new time zone.
|
static ValueTimestampTimeZone |
DateTimeUtils.timestampTimeZoneAtOffset(long dateValue,
long timeNanos,
int oldOffset,
int newOffset)
Moves timestamp with time zone to a new time zone.
|
static ValueTimestampTimeZone |
JSR310Utils.zonedDateTimeToValue(ZonedDateTime zonedDateTime)
Converts a ZonedDateTime to a Value.
|
static ValueTimestampTimeZone |
JSR310Utils.zonedDateTimeToValue(ZonedDateTime zonedDateTime)
Converts a ZonedDateTime to a Value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ValueTimestampTimeZone |
ValueTimestampTimeZone.fromDateValueAndNanos(long dateValue,
long timeNanos,
int timeZoneOffsetSeconds)
Get or create a date value for the given date.
|
static ValueTimestampTimeZone |
ValueTimestampTimeZone.fromDateValueAndNanos(long dateValue,
long timeNanos,
int timeZoneOffsetSeconds)
Get or create a date value for the given date.
|
static ValueTimestampTimeZone |
ValueTimestampTimeZone.parse(String s,
CastDataProvider provider)
Parse a string to a ValueTimestamp.
|
static ValueTimestampTimeZone |
ValueTimestampTimeZone.parse(String s,
CastDataProvider provider)
Parse a string to a ValueTimestamp.
|
Copyright © 2022. All rights reserved.