Enum ClockMethod

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ClockMethod>, MethodClass

    @Deprecated
    public enum ClockMethod
    extends java.lang.Enum<ClockMethod>
    implements MethodClass
    Deprecated.
    since 1.5.1. Use the none enum initializer of MethodParameter.
    This class contains the methods defined for IC Clock.
    • Enum Constant Detail

      • ADJUST_TO_QUARTER

        public static final ClockMethod ADJUST_TO_QUARTER
        Deprecated.
      • ADJUST_TO_MEASURING_PERIOD

        public static final ClockMethod ADJUST_TO_MEASURING_PERIOD
        Deprecated.
      • ADJUST_TO_MINUTE

        public static final ClockMethod ADJUST_TO_MINUTE
        Deprecated.
      • ADJUST_TO_PRESET_TIME

        public static final ClockMethod ADJUST_TO_PRESET_TIME
        Deprecated.
      • PRESET_ADJUSTING_TIME

        public static final ClockMethod PRESET_ADJUSTING_TIME
        Deprecated.
      • SHIFT_TIME

        public static final ClockMethod SHIFT_TIME
        Deprecated.
    • Method Detail

      • values

        public static ClockMethod[] values()
        Deprecated.
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ClockMethod c : ClockMethod.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClockMethod valueOf​(java.lang.String name)
        Deprecated.
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getMethodName

        public java.lang.String getMethodName()
        Deprecated.
        Specified by:
        getMethodName in interface MethodClass