| 程序包 | 说明 |
|---|---|
| org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
| org.h2.jdbc |
Implementation of the JDBC API (package java.sql).
|
| org.h2.util |
Internal utility classes.
|
| 限定符和类型 | 字段和说明 |
|---|---|
TimeZoneProvider |
Session.DynamicSettings.timeZone
The current time zone.
|
TimeZoneProvider |
Session.DynamicSettings.timeZone
The current time zone.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TimeZoneProvider |
CastDataProvider.currentTimeZone()
Returns the current time zone.
|
TimeZoneProvider |
Database.currentTimeZone() |
TimeZoneProvider |
SessionLocal.currentTimeZone() |
TimeZoneProvider |
SessionRemote.currentTimeZone() |
TimeZoneProvider |
SessionRemote.currentTimeZone() |
TimeZoneProvider |
SessionLocal.currentTimeZone() |
TimeZoneProvider |
Database.currentTimeZone() |
TimeZoneProvider |
CastDataProvider.currentTimeZone()
Returns the current time zone.
|
TimeZoneProvider |
ConnectionInfo.getTimeZone()
Returns the time zone.
|
TimeZoneProvider |
ConnectionInfo.getTimeZone()
Returns the time zone.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SessionLocal.setTimeZone(TimeZoneProvider timeZone)
Sets current time zone.
|
void |
SessionLocal.setTimeZone(TimeZoneProvider timeZone)
Sets current time zone.
|
| 构造器和说明 |
|---|
DynamicSettings(Mode mode,
TimeZoneProvider timeZone)
Creates new instance of dynamic settings.
|
DynamicSettings(Mode mode,
TimeZoneProvider timeZone)
Creates new instance of dynamic settings.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TimeZoneProvider |
JdbcConnection.currentTimeZone() |
TimeZoneProvider |
JdbcConnection.currentTimeZone() |
| 限定符和类型 | 字段和说明 |
|---|---|
static TimeZoneProvider[] |
TimeZoneProvider.CACHE
A small cache for timezone providers.
|
static TimeZoneProvider[] |
TimeZoneProvider.CACHE
A small cache for timezone providers.
|
static TimeZoneProvider |
TimeZoneProvider.UTC
The UTC time zone provider.
|
static TimeZoneProvider |
TimeZoneProvider.UTC
The UTC time zone provider.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TimeZoneProvider |
TimeZoneProvider.getDefault()
Returns the time zone provider for the system default time zone.
|
static TimeZoneProvider |
TimeZoneProvider.getDefault()
Returns the time zone provider for the system default time zone.
|
static TimeZoneProvider |
DateTimeUtils.getTimeZone()
Get the time zone provider for the default time zone.
|
static TimeZoneProvider |
DateTimeUtils.getTimeZone()
Get the time zone provider for the default time zone.
|
static TimeZoneProvider |
TimeZoneProvider.ofId(String id)
Returns the time zone provider with the specified name.
|
static TimeZoneProvider |
TimeZoneProvider.ofId(String id)
Returns the time zone provider with the specified name.
|
static TimeZoneProvider |
TimeZoneProvider.ofOffset(int offset)
Returns the time zone provider with the specified offset.
|
static TimeZoneProvider |
TimeZoneProvider.ofOffset(int offset)
Returns the time zone provider with the specified offset.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Copyright © 2022. All rights reserved.