public enum RelativeDateFormatType extends Enum<RelativeDateFormatType>
| Modifier and Type | Method and Description |
|---|---|
static RelativeDateFormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelativeDateFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeDateFormatType DEFAULT
public static final RelativeDateFormatType DURATION
public static final RelativeDateFormatType UNROUNDED
public static RelativeDateFormatType[] values()
for (RelativeDateFormatType c : RelativeDateFormatType.values()) System.out.println(c);
public static RelativeDateFormatType 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 © 2019. All rights reserved.