Module jfxtras.icalendarfx
Enum Class RRuleElement
- All Implemented Interfaces:
Serializable
,Comparable<RRuleElement>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChronoUnit
private static final Map
<Class<? extends RRulePart<?>>, RRuleElement> private String
private static final Map
<String, RRuleElement> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RRuleElement
(String name, Class<? extends RRulePart<?>> myClass, ChronoUnit chronoUnit) -
Method Summary
Modifier and TypeMethodDescriptionstatic RRuleElement
get enum from mapstatic RRuleElement
toString()
static RRuleElement
Returns the enum constant of this class with the specified name.static RRuleElement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FREQUENCY
-
INTERVAL
-
UNTIL
-
COUNT
-
WEEK_START
-
BY_MONTH
-
BY_WEEK_NUMBER
-
BY_YEAR_DAY
-
BY_MONTH_DAY
-
BY_DAY
-
BY_HOUR
-
BY_MINUTE
-
BY_SECOND
-
BY_SET_POSITION
-
-
Field Details
-
NAME_MAP
-
CLASS_MAP
-
name
-
myClass
-
chronoUnit
-
-
Constructor Details
-
RRuleElement
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromName
-
fromClass
get enum from map -
toString
- Overrides:
toString
in classEnum<RRuleElement>
-
elementClass
-
getChronoUnit
-