[]
Serializable, Comparable<TimePeriods>, ConstableUse this enum with IFormatCondition.setDateOperator(TimePeriods) on a FormatConditionType.TimePeriod rule to indicate which relative date range, such as today, last week, or next month, the rule should evaluate.
IFormatCondition condition = (IFormatCondition) worksheet.getRange("A1:A5")
.getFormatConditions().add(FormatConditionType.TimePeriod, FormatConditionOperator.None, null, null);
condition.setDateOperator(TimePeriods.Today);
Enum.EnumDesc<E extends Enum<E>>static TimePeriodsstatic TimePeriods[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null