com.antelmann.util.gui
Enum JDateIntervalChooser.Interval
java.lang.Object
java.lang.Enum<JDateIntervalChooser.Interval>
com.antelmann.util.gui.JDateIntervalChooser.Interval
- All Implemented Interfaces:
- Serializable, Comparable<JDateIntervalChooser.Interval>
- Enclosing class:
- JDateIntervalChooser
public static enum JDateIntervalChooser.Interval
- extends Enum<JDateIntervalChooser.Interval>
DAY
public static final JDateIntervalChooser.Interval DAY
WEEK
public static final JDateIntervalChooser.Interval WEEK
MONTH
public static final JDateIntervalChooser.Interval MONTH
YEAR
public static final JDateIntervalChooser.Interval YEAR
values
public static final JDateIntervalChooser.Interval[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(JDateIntervalChooser.Interval c : JDateIntervalChooser.Interval.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static JDateIntervalChooser.Interval 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 name
(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads