JavaScript is disabled on your browser.
java.lang.Object
com.aspose.cells.TimePeriodType
public class TimePeriodType extends java.lang.Object
Utility class containing constants.
Used in a FormatConditionType.TimePeriod conditional formatting rule.
These are dynamic time periods, which change based on
the date the conditional formatting is refreshed / applied.
Field Summary
static final int
TODAY
Today's date.
static final int
YESTERDAY
Yesterday's date.
static final int
TOMORROW
Tomorrow's date.
static final int
LAST_7_DAYS
A date in the last seven days.
static final int
THIS_MONTH
A date occurring in this calendar month.
static final int
LAST_MONTH
A date occurring in the last calendar month.
static final int
NEXT_MONTH
A date occurring in the next calendar month.
static final int
THIS_WEEK
A date occurring this week.
static final int
LAST_WEEK
A date occurring last week.
static final int
NEXT_WEEK
A date occurring next week.
static final int
THIS_YEAR
A date occurring this year.
Only for .ods.
static final int
LAST_YEAR
A date occurring last year.
Only for .ods.
static final int
NEXT_YEAR
A date occurring next year.
Only for .ods.
TODAY
public static final int TODAY
Today's date.
YESTERDAY
public static final int YESTERDAY
Yesterday's date.
TOMORROW
public static final int TOMORROW
Tomorrow's date.
LAST_7_DAYS
public static final int LAST_7_DAYS
A date in the last seven days.
THIS_MONTH
public static final int THIS_MONTH
A date occurring in this calendar month.
LAST_MONTH
public static final int LAST_MONTH
A date occurring in the last calendar month.
NEXT_MONTH
public static final int NEXT_MONTH
A date occurring in the next calendar month.
THIS_WEEK
public static final int THIS_WEEK
A date occurring this week.
LAST_WEEK
public static final int LAST_WEEK
A date occurring last week.
NEXT_WEEK
public static final int NEXT_WEEK
A date occurring next week.
THIS_YEAR
public static final int THIS_YEAR
A date occurring this year.
Only for .ods.
LAST_YEAR
public static final int LAST_YEAR
A date occurring last year.
Only for .ods.
NEXT_YEAR
public static final int NEXT_YEAR
A date occurring next year.
Only for .ods.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.