[]
        
(Showing Draft Content)

TimePeriods

Enum Class TimePeriods

java.lang.Object
java.lang.Enum<TimePeriods>
com.grapecity.documents.excel.TimePeriods
All Implemented Interfaces:
Serializable, Comparable<TimePeriods>, Constable

public enum TimePeriods extends Enum<TimePeriods>
Specifies the time period.
  • Enum Constant Details

    • Today

      public static final TimePeriods Today
      Specifies today.
    • Yesterday

      public static final TimePeriods Yesterday
      Specifies yesterday.
    • Last7Days

      public static final TimePeriods Last7Days
      Specifies the last 7 days.
    • ThisWeek

      public static final TimePeriods ThisWeek
      Specifies this week.
    • LastWeek

      public static final TimePeriods LastWeek
      Specifies last week.
    • LastMonth

      public static final TimePeriods LastMonth
      Specifies last month.
    • Tomorrow

      public static final TimePeriods Tomorrow
      Specifies tomorrow.
    • NextWeek

      public static final TimePeriods NextWeek
      Specifies next week.
    • NextMonth

      public static final TimePeriods NextMonth
      Specifies next month.
    • ThisMonth

      public static final TimePeriods ThisMonth
      Specifies this month.
  • Method Details

    • values

      public static TimePeriods[] 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

      public static TimePeriods valueOf(String name)
      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 name
      NullPointerException - if the argument is null