Project Wonder 5.0

er.chronic.repeaters
Enum RepeaterUnit.UnitName

java.lang.Object
  extended by java.lang.Enum<RepeaterUnit.UnitName>
      extended by er.chronic.repeaters.RepeaterUnit.UnitName
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RepeaterUnit.UnitName>
Enclosing class:
RepeaterUnit

public static enum RepeaterUnit.UnitName
extends java.lang.Enum<RepeaterUnit.UnitName>


Enum Constant Summary
DAY
           
FORTNIGHT
           
HOUR
           
MINUTE
           
MONTH
           
SEASON
           
SECOND
           
WEEK
           
WEEKDAY
           
WEEKEND
           
YEAR
           
 
Method Summary
static RepeaterUnit.UnitName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RepeaterUnit.UnitName[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

YEAR

public static final RepeaterUnit.UnitName YEAR

SEASON

public static final RepeaterUnit.UnitName SEASON

MONTH

public static final RepeaterUnit.UnitName MONTH

FORTNIGHT

public static final RepeaterUnit.UnitName FORTNIGHT

WEEK

public static final RepeaterUnit.UnitName WEEK

WEEKEND

public static final RepeaterUnit.UnitName WEEKEND

WEEKDAY

public static final RepeaterUnit.UnitName WEEKDAY

DAY

public static final RepeaterUnit.UnitName DAY

HOUR

public static final RepeaterUnit.UnitName HOUR

MINUTE

public static final RepeaterUnit.UnitName MINUTE

SECOND

public static final RepeaterUnit.UnitName SECOND
Method Detail

values

public static RepeaterUnit.UnitName[] 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 (RepeaterUnit.UnitName c : RepeaterUnit.UnitName.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RepeaterUnit.UnitName valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.