Enum Class DateFunctions

java.lang.Object
java.lang.Enum<DateFunctions>
org.kie.pmml.api.enums.builtinfunctions.DateFunctions
All Implemented Interfaces:
Serializable, Comparable<DateFunctions>, Constable

public enum DateFunctions extends Enum<DateFunctions>
  • Enum Constant Details

    • DATE_DAYS_SINCE_YEAR

      public static final DateFunctions DATE_DAYS_SINCE_YEAR
    • DATE_SECONDS_SINCE_YEAR

      public static final DateFunctions DATE_SECONDS_SINCE_YEAR
    • DATE_SECONDS_SINCE_MIDNIGHT

      public static final DateFunctions DATE_SECONDS_SINCE_MIDNIGHT
  • Method Details

    • values

      public static DateFunctions[] 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 DateFunctions 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
    • isDateFunctions

      public static boolean isDateFunctions(String name)
    • byName

      public static DateFunctions byName(String name)
    • getName

      public String getName()
    • getValue

      public Object getValue(Object[] inputData)