Enum PeriodTimeEnum

java.lang.Object
java.lang.Enum<PeriodTimeEnum>
cdm.base.datetime.PeriodTimeEnum
All Implemented Interfaces:
Serializable, Comparable<PeriodTimeEnum>

@RosettaEnum("PeriodTimeEnum") public enum PeriodTimeEnum extends Enum<PeriodTimeEnum>
The enumeration values to specify a time period containing additional values such as Term.
Version:
5.30.0
  • Enum Constant Details

    • HOUR

      @RosettaEnumValue("Hour") public static final PeriodTimeEnum HOUR
      Period measured in hours.
    • MINUTE

      @RosettaEnumValue("Minute") public static final PeriodTimeEnum MINUTE
      Period measured in minutes.
    • SECOND

      @RosettaEnumValue("Second") public static final PeriodTimeEnum SECOND
      Period measured in seconds.
  • Method Details

    • values

      public static PeriodTimeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PeriodTimeEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static PeriodTimeEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PeriodTimeEnum>
    • toDisplayString

      public String toDisplayString()