Enum Class TimePeriods

java.lang.Object
java.lang.Enum<TimePeriods>
com.grapecity.documents.excel.TimePeriods
所有已实现的接口:
Serializable, Comparable<TimePeriods>, Constable

public enum TimePeriods extends Enum<TimePeriods>
Specifies the time period.
  • 枚举常量详细资料

    • 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.
  • 方法详细资料

    • values

      public static TimePeriods[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值