public enum TimeSeriesGranularity extends Enum<TimeSeriesGranularity>
Modifier and Type | Method and Description |
---|---|
static TimeSeriesGranularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeSeriesGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSeriesGranularity SECONDS
public static final TimeSeriesGranularity MINUTES
public static final TimeSeriesGranularity HOURS
public static TimeSeriesGranularity[] values()
for (TimeSeriesGranularity c : TimeSeriesGranularity.values()) System.out.println(c);
public static TimeSeriesGranularity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023 Eclipse. All rights reserved.