com.aspose.cells

Class TimePeriodType

  • 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
staticfinal intTODAY
Today's date.
staticfinal intYESTERDAY
Yesterday's date.
staticfinal intTOMORROW
Tomorrow's date.
staticfinal intLAST_7_DAYS
A date in the last seven days.
staticfinal intTHIS_MONTH
A date occuring in this calendar month.
staticfinal intLAST_MONTH
A date occuring in the last calendar month.
staticfinal intNEXT_MONTH
A date occuring in the next calendar month.
staticfinal intTHIS_WEEK
A date occuring this week.
staticfinal intLAST_WEEK
A date occuring last week.
staticfinal intNEXT_WEEK
A date occuring next week.
 

    • Field Detail

      • 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 occuring in this calendar month.
      • LAST_MONTH

        public static final int LAST_MONTH
        A date occuring in the last calendar month.
      • NEXT_MONTH

        public static final int NEXT_MONTH
        A date occuring in the next calendar month.
      • THIS_WEEK

        public static final int THIS_WEEK
        A date occuring this week.
      • LAST_WEEK

        public static final int LAST_WEEK
        A date occuring last week.
      • NEXT_WEEK

        public static final int NEXT_WEEK
        A date occuring next week.