public static enum TimeAnchor.Type extends Enum<TimeAnchor.Type> implements StringValue<TimeAnchor.Type>
| Modifier and Type | Method and Description |
|---|---|
static TimeAnchor.Type |
fromValue(String v) |
String |
toString() |
String |
value() |
static TimeAnchor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeAnchor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeAnchor.Type DATE_TIME_MILLISECONDS_SINCE_0
public static final TimeAnchor.Type DATE_TIME_MILLISECONDS_SINCE_1960
public static final TimeAnchor.Type DATE_TIME_MILLISECONDS_SINCE_1970
public static final TimeAnchor.Type DATE_TIME_MILLISECONDS_SINCE_1980
public static final TimeAnchor.Type DATE_TIME_SECONDS_SINCE_0
public static final TimeAnchor.Type DATE_TIME_SECONDS_SINCE_1960
public static final TimeAnchor.Type DATE_TIME_SECONDS_SINCE_1970
public static final TimeAnchor.Type DATE_TIME_SECONDS_SINCE_1980
public static final TimeAnchor.Type DATE_DAYS_SINCE_0
public static final TimeAnchor.Type DATE_DAYS_SINCE_1960
public static final TimeAnchor.Type DATE_DAYS_SINCE_1970
public static final TimeAnchor.Type DATE_DAYS_SINCE_1980
public static final TimeAnchor.Type DATE_MONTHS_SINCE_0
public static final TimeAnchor.Type DATE_MONTHS_SINCE_1960
public static final TimeAnchor.Type DATE_MONTHS_SINCE_1970
public static final TimeAnchor.Type DATE_MONTHS_SINCE_1980
public static final TimeAnchor.Type DATE_YEARS_SINCE_0
public static TimeAnchor.Type[] values()
for (TimeAnchor.Type c : TimeAnchor.Type.values()) System.out.println(c);
public static TimeAnchor.Type 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()
value in interface StringValue<TimeAnchor.Type>public static TimeAnchor.Type fromValue(String v)
public String toString()
toString in class Enum<TimeAnchor.Type>Copyright © 2022. All rights reserved.