public static enum TimeAnchor.Type extends Enum<TimeAnchor.Type>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="dateTimeMillisecondsSince[0]"/>
<enumeration value="dateTimeMillisecondsSince[1960]"/>
<enumeration value="dateTimeMillisecondsSince[1970]"/>
<enumeration value="dateTimeMillisecondsSince[1980]"/>
<enumeration value="dateTimeSecondsSince[0]"/>
<enumeration value="dateTimeSecondsSince[1960]"/>
<enumeration value="dateTimeSecondsSince[1970]"/>
<enumeration value="dateTimeSecondsSince[1980]"/>
<enumeration value="dateDaysSince[0]"/>
<enumeration value="dateDaysSince[1960]"/>
<enumeration value="dateDaysSince[1970]"/>
<enumeration value="dateDaysSince[1980]"/>
<enumeration value="dateMonthsSince[0]"/>
<enumeration value="dateMonthsSince[1960]"/>
<enumeration value="dateMonthsSince[1970]"/>
<enumeration value="dateMonthsSince[1980]"/>
<enumeration value="dateYearsSince[0]"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static TimeAnchor.Type |
fromValue(String v) |
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()
public static TimeAnchor.Type fromValue(String v)
Copyright © 2016 University of Tartu. All rights reserved.