public enum TimeComparator extends Enum<TimeComparator>
Comparator.
Created by william.s.setiadi on 5/25/2018.| Enum Constant and Description |
|---|
AFTER |
AFTER_OR_EQUAL_TO |
BEFORE |
BEFORE_OR_EQUAL_TO |
EQUAL_TO |
NOT_EQUAL_TO |
| Modifier and Type | Method and Description |
|---|---|
static TimeComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeComparator BEFORE
public static final TimeComparator BEFORE_OR_EQUAL_TO
public static final TimeComparator EQUAL_TO
public static final TimeComparator NOT_EQUAL_TO
public static final TimeComparator AFTER
public static final TimeComparator AFTER_OR_EQUAL_TO
public static TimeComparator[] values()
for (TimeComparator c : TimeComparator.values()) System.out.println(c);
public static TimeComparator 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 nullCopyright © 2018. All rights reserved.