| Package | Description |
|---|---|
| org.calrissian.accumulorecipes.commons.support |
| Modifier and Type | Method and Description |
|---|---|
static MetricTimeUnit |
MetricTimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricTimeUnit[] |
MetricTimeUnit.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 |
TimestampUtil.generateTimestamp(long timestamp,
MetricTimeUnit timeUnit)
Will generate a reverse timestamp with the precision of the provided timeunit.
|
static long |
TimestampUtil.revertTimestamp(String timestamp,
MetricTimeUnit timeUnit)
Reverts the string timestamp into an epoch timestamp with the precision of the provided timeunit.
|
Copyright © 2014 Calrissian. All Rights Reserved.