public static enum CalendarEvent.Frequency extends Enum<CalendarEvent.Frequency>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static CalendarEvent.Frequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarEvent.Frequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarEvent.Frequency DAILY
public static final CalendarEvent.Frequency WEEKLY
public static final CalendarEvent.Frequency MONTHLY
public static CalendarEvent.Frequency[] values()
for (CalendarEvent.Frequency c : CalendarEvent.Frequency.values()) System.out.println(c);
public static CalendarEvent.Frequency 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 String toString()
toString in class Enum<CalendarEvent.Frequency>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.