public enum TimePeriod extends Enum<TimePeriod>
Enum Constant and Description |
---|
daily |
hourly |
monthly |
quarterly |
weekly |
yearly |
Modifier and Type | Method and Description |
---|---|
Class<? extends org.jfree.data.time.RegularTimePeriod> |
getTimePeriodClass() |
static TimePeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimePeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimePeriod hourly
public static final TimePeriod daily
public static final TimePeriod weekly
public static final TimePeriod monthly
public static final TimePeriod quarterly
public static final TimePeriod yearly
public static TimePeriod[] values()
for (TimePeriod c : TimePeriod.values()) System.out.println(c);
public static TimePeriod 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 nullpublic Class<? extends org.jfree.data.time.RegularTimePeriod> getTimePeriodClass()
Copyright © 2002-2021 Atlassian. All Rights Reserved.