public static enum SConditionalFormattingRule.RuleTimePeriod extends Enum<SConditionalFormattingRule.RuleTimePeriod>
Enum Constant and Description |
---|
LAST_7_DAYS |
LAST_MONTH |
LAST_WEEK |
NEXT_MONTH |
NEXT_WEEK |
THIS_MONTH |
THIS_WEEK |
TODAY |
TOMORROW |
YESTERDAY |
Modifier and Type | Method and 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.
|
public static final SConditionalFormattingRule.RuleTimePeriod TODAY
public static final SConditionalFormattingRule.RuleTimePeriod YESTERDAY
public static final SConditionalFormattingRule.RuleTimePeriod TOMORROW
public static final SConditionalFormattingRule.RuleTimePeriod LAST_7_DAYS
public static final SConditionalFormattingRule.RuleTimePeriod THIS_MONTH
public static final SConditionalFormattingRule.RuleTimePeriod LAST_MONTH
public static final SConditionalFormattingRule.RuleTimePeriod NEXT_MONTH
public static final SConditionalFormattingRule.RuleTimePeriod THIS_WEEK
public static final SConditionalFormattingRule.RuleTimePeriod LAST_WEEK
public static final SConditionalFormattingRule.RuleTimePeriod NEXT_WEEK
public final String name
public final int value
public static SConditionalFormattingRule.RuleTimePeriod[] values()
for (SConditionalFormattingRule.RuleTimePeriod c : SConditionalFormattingRule.RuleTimePeriod.values()) System.out.println(c);
public static SConditionalFormattingRule.RuleTimePeriod 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 nullCopyright © 2020. All rights reserved.