public enum DateComparisonOperator extends Enum<DateComparisonOperator>
Enum Constant and Description |
---|
AFTER
check that the property contains a date that is after the reference date
|
BEFORE
check that the property contains a date that is before the reference date
|
Modifier and Type | Method and Description |
---|---|
static DateComparisonOperator |
fromValue(String v) |
String |
toString() |
String |
value() |
static DateComparisonOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateComparisonOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateComparisonOperator BEFORE
public static final DateComparisonOperator AFTER
public static DateComparisonOperator[] values()
for (DateComparisonOperator c : DateComparisonOperator.values()) System.out.println(c);
public static DateComparisonOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static DateComparisonOperator fromValue(String v)
public String toString()
toString
in class Enum<DateComparisonOperator>
Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.