public enum CalendarComponent extends java.lang.Enum<CalendarComponent>
Enum Constant and Description |
---|
DAYLIGHT_SAVING_TIME |
STANDARD_TIME |
VALARM |
VEVENT |
VFREEBUSY |
VJOURNAL |
VTIMEZONE |
VTODO |
Modifier and Type | Method and Description |
---|---|
java.util.List<PropertyType> |
allowedProperties() |
abstract void |
copyChild(VChild child,
VCalendar destination)
Parses string and sets property.
|
static CalendarComponent |
enumFromClass(java.lang.Class<? extends VElement> myClass)
get enum from map
|
static CalendarComponent |
enumFromName(java.lang.String propertyName) |
java.lang.Class<? extends VElement> |
getElementClass() |
java.lang.String |
toString() |
static CalendarComponent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CalendarComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarComponent VEVENT
public static final CalendarComponent VTODO
public static final CalendarComponent VJOURNAL
public static final CalendarComponent VTIMEZONE
public static final CalendarComponent VFREEBUSY
public static final CalendarComponent DAYLIGHT_SAVING_TIME
public static final CalendarComponent STANDARD_TIME
public static final CalendarComponent VALARM
public static CalendarComponent[] values()
for (CalendarComponent c : CalendarComponent.values()) System.out.println(c);
public static CalendarComponent valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static CalendarComponent enumFromName(java.lang.String propertyName)
public static CalendarComponent enumFromClass(java.lang.Class<? extends VElement> myClass)
get enum from map
public java.lang.Class<? extends VElement> getElementClass()
public java.lang.String toString()
toString
in class java.lang.Enum<CalendarComponent>
public java.util.List<PropertyType> allowedProperties()