| Package | Description |
|---|---|
| org.apache.calcite.avatica.util |
Avatica utilities.
|
| Modifier and Type | Field and Description |
|---|---|
private static TimeUnit[] |
TimeUnit.CACHED_VALUES |
TimeUnit |
TimeUnitRange.endUnit |
TimeUnit |
TimeUnitRange.startUnit |
| Modifier and Type | Field and Description |
|---|---|
private static Map<TimeUnitRange.Pair<TimeUnit>,TimeUnitRange> |
TimeUnitRange.MAP |
| Modifier and Type | Method and Description |
|---|---|
static TimeUnit |
TimeUnit.getValue(int ordinal)
Returns the TimeUnit associated with an ordinal.
|
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
private static Map<TimeUnitRange.Pair<TimeUnit>,TimeUnitRange> |
TimeUnitRange.createMap() |
| Modifier and Type | Method and Description |
|---|---|
static TimeUnitRange |
TimeUnitRange.of(TimeUnit startUnit,
TimeUnit endUnit)
Returns a
TimeUnitRange with a given start and end unit. |
| Constructor and Description |
|---|
TimeUnitRange(TimeUnit startUnit,
TimeUnit endUnit)
Creates a TimeUnitRange.
|
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.