Enum Class TimeUnitType

java.lang.Object
java.lang.Enum<TimeUnitType>
com.aspose.tasks.cloud.model.TimeUnitType
All Implemented Interfaces:
Serializable, Comparable<TimeUnitType>, java.lang.constant.Constable

public enum TimeUnitType extends Enum<TimeUnitType>
Specifies the type of a time unit.
  • Enum Constant Details

    • MINUTE

      public static final TimeUnitType MINUTE
    • ELAPSEDMINUTE

      public static final TimeUnitType ELAPSEDMINUTE
    • HOUR

      public static final TimeUnitType HOUR
    • ELAPSEDHOUR

      public static final TimeUnitType ELAPSEDHOUR
    • DAY

      public static final TimeUnitType DAY
    • ELAPSEDDAY

      public static final TimeUnitType ELAPSEDDAY
    • WEEK

      public static final TimeUnitType WEEK
    • ELAPSEDWEEK

      public static final TimeUnitType ELAPSEDWEEK
    • MONTH

      public static final TimeUnitType MONTH
    • ELAPSEDMONTH

      public static final TimeUnitType ELAPSEDMONTH
    • PERCENT

      public static final TimeUnitType PERCENT
    • ELAPSEDPERCENT

      public static final TimeUnitType ELAPSEDPERCENT
    • NULL

      public static final TimeUnitType NULL
    • MINUTEESTIMATED

      public static final TimeUnitType MINUTEESTIMATED
    • ELAPSEDMINUTEESTIMATED

      public static final TimeUnitType ELAPSEDMINUTEESTIMATED
    • HOURESTIMATED

      public static final TimeUnitType HOURESTIMATED
    • ELAPSEDHOURESTIMATED

      public static final TimeUnitType ELAPSEDHOURESTIMATED
    • DAYESTIMATED

      public static final TimeUnitType DAYESTIMATED
    • ELAPSEDDAYESTIMATED

      public static final TimeUnitType ELAPSEDDAYESTIMATED
    • WEEKESTIMATED

      public static final TimeUnitType WEEKESTIMATED
    • ELAPSEDWEEKESTIMATED

      public static final TimeUnitType ELAPSEDWEEKESTIMATED
    • MONTHESTIMATED

      public static final TimeUnitType MONTHESTIMATED
    • ELAPSEDMONTHESTIMATED

      public static final TimeUnitType ELAPSEDMONTHESTIMATED
    • PERCENTESTIMATED

      public static final TimeUnitType PERCENTESTIMATED
    • ELAPSEDPERCENTESTIMATED

      public static final TimeUnitType ELAPSEDPERCENTESTIMATED
    • YEAR

      public static final TimeUnitType YEAR
    • UNDEFINED

      public static final TimeUnitType UNDEFINED
  • Method Details

    • values

      public static TimeUnitType[] 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 TimeUnitType 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TimeUnitType>
    • fromValue

      public static TimeUnitType fromValue(String text)