public class DefaultAbsoluteInstantType extends Object implements AbsoluteInstantType
CENTURY_OF_ERA, CLOCKHOUR_OF_DAY, CLOCKHOUR_OF_HALFDAY, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, ERA, HALFDAY_OF_DAY, HOUR_OF_DAY, HOUR_OF_HALFDAY, MILLIS_OF_DAY, MILLIS_OF_SECOND, MINUTE_OF_DAY, MINUTE_OF_HOUR, MONTH_OF_YEAR, SECOND_OF_DAY, SECOND_OF_MINUTE, WEEK_OF_WEEKYEAR, WEEKYEAR, WEEKYEAR_OF_CENTURY, YEAR, YEAR_OF_CENTURY, YEAR_OF_ERA
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets a description of the
AbsoluteInstantType . |
int |
getType()
Gets the code of the type, that is one of the constants defined
in the
AbsoluteInstantType class. |
String |
toString() |
public int getType()
AbsoluteInstantType
AbsoluteInstantType
class.getType
in interface AbsoluteInstantType
public String getName()
AbsoluteInstantType
AbsoluteInstantType
.getName
in interface AbsoluteInstantType