Package io.keikai.model
Enum SConditionalFormattingRule.RuleTimePeriod
- java.lang.Object
-
- java.lang.Enum<SConditionalFormattingRule.RuleTimePeriod>
-
- io.keikai.model.SConditionalFormattingRule.RuleTimePeriod
-
- All Implemented Interfaces:
Serializable
,Comparable<SConditionalFormattingRule.RuleTimePeriod>
- Enclosing interface:
- SConditionalFormattingRule
public static enum SConditionalFormattingRule.RuleTimePeriod extends Enum<SConditionalFormattingRule.RuleTimePeriod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LAST_7_DAYS
LAST_MONTH
LAST_WEEK
NEXT_MONTH
NEXT_WEEK
THIS_MONTH
THIS_WEEK
TODAY
TOMORROW
YESTERDAY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SConditionalFormattingRule.RuleTimePeriod
valueOf(String name)
Returns the enum constant of this type with the specified name.static SConditionalFormattingRule.RuleTimePeriod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TODAY
public static final SConditionalFormattingRule.RuleTimePeriod TODAY
-
YESTERDAY
public static final SConditionalFormattingRule.RuleTimePeriod YESTERDAY
-
TOMORROW
public static final SConditionalFormattingRule.RuleTimePeriod TOMORROW
-
LAST_7_DAYS
public static final SConditionalFormattingRule.RuleTimePeriod LAST_7_DAYS
-
THIS_MONTH
public static final SConditionalFormattingRule.RuleTimePeriod THIS_MONTH
-
LAST_MONTH
public static final SConditionalFormattingRule.RuleTimePeriod LAST_MONTH
-
NEXT_MONTH
public static final SConditionalFormattingRule.RuleTimePeriod NEXT_MONTH
-
THIS_WEEK
public static final SConditionalFormattingRule.RuleTimePeriod THIS_WEEK
-
LAST_WEEK
public static final SConditionalFormattingRule.RuleTimePeriod LAST_WEEK
-
NEXT_WEEK
public static final SConditionalFormattingRule.RuleTimePeriod NEXT_WEEK
-
-
Field Detail
-
name
public final String name
-
value
public final int value
-
-
Method Detail
-
values
public static SConditionalFormattingRule.RuleTimePeriod[] 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 (SConditionalFormattingRule.RuleTimePeriod c : SConditionalFormattingRule.RuleTimePeriod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SConditionalFormattingRule.RuleTimePeriod 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 nameNullPointerException
- if the argument is null
-
-