public interface AbsoluteInstantType
Identifies a field, such as year or minuteOfHour, in a chronology-neutral way.
Instances of this class are singletons and they can be compared using the
AbsoluteInstantType
getType()
method and the ==
operator.
A huge part of the documentation of this class has been retrieved from the joda-time library.
http://joda-time.sourceforge.net
,
https://gvsig.org/web/projects/gvsig-desktop/docs/devel/org-gvsig-sensors/1-0.0/analysis-and-design/detailed-view/time-support/libraries/org-gvsig-timesupport-lib
Modifier and Type | Field and Description |
---|---|
static int |
CENTURY_OF_ERA |
static int |
CLOCKHOUR_OF_DAY |
static int |
CLOCKHOUR_OF_HALFDAY |
static int |
DAY_OF_MONTH |
static int |
DAY_OF_WEEK |
static int |
DAY_OF_YEAR |
static int |
ERA |
static int |
HALFDAY_OF_DAY |
static int |
HOUR_OF_DAY |
static int |
HOUR_OF_HALFDAY |
static int |
MILLIS_OF_DAY |
static int |
MILLIS_OF_SECOND |
static int |
MINUTE_OF_DAY |
static int |
MINUTE_OF_HOUR |
static int |
MONTH_OF_YEAR |
static int |
SECOND_OF_DAY |
static int |
SECOND_OF_MINUTE |
static int |
WEEK_OF_WEEKYEAR |
static int |
WEEKYEAR |
static int |
WEEKYEAR_OF_CENTURY |
static int |
YEAR |
static int |
YEAR_OF_CENTURY |
static int |
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. |
static final int ERA
static final int YEAR_OF_ERA
static final int CENTURY_OF_ERA
static final int YEAR_OF_CENTURY
static final int YEAR
static final int DAY_OF_YEAR
static final int MONTH_OF_YEAR
static final int DAY_OF_MONTH
static final int WEEKYEAR_OF_CENTURY
static final int WEEKYEAR
static final int WEEK_OF_WEEKYEAR
static final int DAY_OF_WEEK
static final int HALFDAY_OF_DAY
static final int HOUR_OF_HALFDAY
static final int CLOCKHOUR_OF_HALFDAY
static final int CLOCKHOUR_OF_DAY
static final int HOUR_OF_DAY
static final int MINUTE_OF_DAY
static final int MINUTE_OF_HOUR
static final int SECOND_OF_DAY
static final int SECOND_OF_MINUTE
static final int MILLIS_OF_DAY
static final int MILLIS_OF_SECOND
int getType()
AbsoluteInstantType
class.String getName()
AbsoluteInstantType
.