Package io.keikai.axyra.sheets
Enum Class DynamicFilterType
- All Implemented Interfaces:
Serializable,Comparable<DynamicFilterType>,Constable
Dynamic auto-filter kind (ECMA-376 §18.18.26 ST_DynamicFilterType).
The date kinds resolve their range at
Sheet.applyAutoFilter() time relative to the current date (weeks
start on Sunday, Excel's en-US default); ABOVE_AVERAGE /
BELOW_AVERAGE compute the column average over the data rows.
"Today" is the current date in the host's local time zone, read when the
filter is applied.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNumbers above the average of the column's data rows.Numbers below the average of the column's data rows.Dates in the previous calendar month.Dates in the previous calendar quarter.Dates in the previous Sunday-to-Saturday week.Dates in the previous calendar year.Dates in the next calendar month.Dates in the next calendar quarter.Dates in the next Sunday-to-Saturday week.Dates in the next calendar year.Dates in the current calendar month.Dates in the current calendar quarter.Dates in the current Sunday-to-Saturday week.Dates in the current calendar year.Dates equal to today.Dates equal to tomorrow.Dates from January 1 of this year up to and including today.Dates equal to yesterday. -
Method Summary
Modifier and TypeMethodDescriptioncode()Returns the ECMA-376 token for this kind, e.g.static DynamicFilterTypeReturns the enum constant of this class with the specified name.static DynamicFilterType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TODAY
Dates equal to today. -
YESTERDAY
Dates equal to yesterday. -
TOMORROW
Dates equal to tomorrow. -
THIS_WEEK
Dates in the current Sunday-to-Saturday week. -
LAST_WEEK
Dates in the previous Sunday-to-Saturday week. -
NEXT_WEEK
Dates in the next Sunday-to-Saturday week. -
THIS_MONTH
Dates in the current calendar month. -
LAST_MONTH
Dates in the previous calendar month. -
NEXT_MONTH
Dates in the next calendar month. -
THIS_QUARTER
Dates in the current calendar quarter. -
LAST_QUARTER
Dates in the previous calendar quarter. -
NEXT_QUARTER
Dates in the next calendar quarter. -
THIS_YEAR
Dates in the current calendar year. -
LAST_YEAR
Dates in the previous calendar year. -
NEXT_YEAR
Dates in the next calendar year. -
YEAR_TO_DATE
Dates from January 1 of this year up to and including today. -
ABOVE_AVERAGE
Numbers above the average of the column's data rows. -
BELOW_AVERAGE
Numbers below the average of the column's data rows.
-
-
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
-
code
Returns the ECMA-376 token for this kind, e.g."thisWeek".
-