Enum DateFunctions
- java.lang.Object
-
- java.lang.Enum<DateFunctions>
-
- org.kie.pmml.api.enums.builtinfunctions.DateFunctions
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DateFunctions>
public enum DateFunctions extends java.lang.Enum<DateFunctions>
- See Also:
- Built-in functions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE_DAYS_SINCE_YEARDATE_SECONDS_SINCE_MIDNIGHTDATE_SECONDS_SINCE_YEAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateFunctionsbyName(java.lang.String name)java.lang.StringgetName()java.lang.ObjectgetValue(java.lang.Object[] inputData)static booleanisDateFunctions(java.lang.String name)static DateFunctionsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DateFunctions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static DateFunctions[] values()
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 (DateFunctions c : DateFunctions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DateFunctions valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isDateFunctions
public static boolean isDateFunctions(java.lang.String name)
-
byName
public static DateFunctions byName(java.lang.String name)
-
getName
public java.lang.String getName()
-
getValue
public java.lang.Object getValue(java.lang.Object[] inputData)
-
-