public static enum UIUtils.DateDiff extends Enum<UIUtils.DateDiff>
| Enum Constant and Description |
|---|
DAY |
HOUR |
MILLISECOND |
MINUTE |
MONTH |
SECOND |
WEEK |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static UIUtils.DateDiff |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UIUtils.DateDiff[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UIUtils.DateDiff MILLISECOND
public static final UIUtils.DateDiff SECOND
public static final UIUtils.DateDiff MINUTE
public static final UIUtils.DateDiff HOUR
public static final UIUtils.DateDiff DAY
public static final UIUtils.DateDiff WEEK
public static final UIUtils.DateDiff MONTH
public static final UIUtils.DateDiff YEAR
public static UIUtils.DateDiff[] values()
for (UIUtils.DateDiff c : UIUtils.DateDiff.values()) System.out.println(c);
public static UIUtils.DateDiff 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 © 2012–2025 cismet GmbH. All rights reserved.