| Package | Description |
|---|---|
| net.snowflake.common.util |
| Modifier and Type | Method and Description |
|---|---|
static TimeUtil.TimestampUnit |
TimeUtil.TimestampUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUtil.TimestampUnit[] |
TimeUtil.TimestampUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static SFTimestamp |
TimeUtil.getSFTimestamp(String timestampStr,
TimeUtil.TimestampUnit unit,
int scale,
TimeUtil.TimestampType internalColumnType,
long resultVersion,
TimeZone sessionTZ)
Convert a timestamp internal value (scaled number of seconds + fractional
seconds or nanoseconds) into a SFTimestamp.
|
Copyright © 2020. All rights reserved.