| Package | Description |
|---|---|
| org.apache.calcite.avatica.util |
Avatica utilities.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeUnitRange |
TimeUnitRange.of(TimeUnit startUnit,
TimeUnit endUnit)
Returns a
TimeUnitRange with a given start and end unit. |
static TimeUnitRange |
TimeUnitRange.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnitRange[] |
TimeUnitRange.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DateTimeUtils.intervalDayTimeToString(long v,
TimeUnitRange range,
int scale) |
static String |
DateTimeUtils.intervalYearMonthToString(int v,
TimeUnitRange range) |
static long |
DateTimeUtils.unixDateCeil(TimeUnitRange range,
long date) |
static long |
DateTimeUtils.unixDateExtract(TimeUnitRange range,
long date) |
static long |
DateTimeUtils.unixDateFloor(TimeUnitRange range,
long date) |
static long |
DateTimeUtils.unixTimestampCeil(TimeUnitRange range,
long timestamp) |
static long |
DateTimeUtils.unixTimestampFloor(TimeUnitRange range,
long timestamp) |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.