Package adams.data.timeseries
Enum PeriodicityType
- java.lang.Object
-
- java.lang.Enum<PeriodicityType>
-
- adams.data.timeseries.PeriodicityType
-
- All Implemented Interfaces:
Serializable
,Comparable<PeriodicityType>
public enum PeriodicityType extends Enum<PeriodicityType>
Enumeration of periodicity.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAILY
HALF_DAILY
HALF_HOURLY
HOURLY
MONTHLY
NONE
PER_MINUTE
QUARTERLY
WEEKLY
YEARLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PeriodicityType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PeriodicityType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final PeriodicityType NONE
-
YEARLY
public static final PeriodicityType YEARLY
-
QUARTERLY
public static final PeriodicityType QUARTERLY
-
MONTHLY
public static final PeriodicityType MONTHLY
-
WEEKLY
public static final PeriodicityType WEEKLY
-
DAILY
public static final PeriodicityType DAILY
-
HALF_DAILY
public static final PeriodicityType HALF_DAILY
-
HOURLY
public static final PeriodicityType HOURLY
-
HALF_HOURLY
public static final PeriodicityType HALF_HOURLY
-
PER_MINUTE
public static final PeriodicityType PER_MINUTE
-
-
Method Detail
-
values
public static PeriodicityType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PeriodicityType c : PeriodicityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PeriodicityType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-