Package org.gvsig.timesupport
Interface AbsoluteInstantType
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
AbsoluteInstantTypegetType() method and the ==
operator.
A huge part of the documentation of this class has been retrieved from the joda-time library.
- Version:
- $Id$
- Author:
- gvSIG team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets a description of theAbsoluteInstantType.intgetType()Gets the code of the type, that is one of the constants defined in theAbsoluteInstantTypeclass.
-
Field Details
-
ERA
static final int ERA- See Also:
-
YEAR_OF_ERA
static final int YEAR_OF_ERA- See Also:
-
CENTURY_OF_ERA
static final int CENTURY_OF_ERA- See Also:
-
YEAR_OF_CENTURY
static final int YEAR_OF_CENTURY- See Also:
-
YEAR
static final int YEAR- See Also:
-
DAY_OF_YEAR
static final int DAY_OF_YEAR- See Also:
-
MONTH_OF_YEAR
static final int MONTH_OF_YEAR- See Also:
-
DAY_OF_MONTH
static final int DAY_OF_MONTH- See Also:
-
WEEKYEAR_OF_CENTURY
static final int WEEKYEAR_OF_CENTURY- See Also:
-
WEEKYEAR
static final int WEEKYEAR- See Also:
-
WEEK_OF_WEEKYEAR
static final int WEEK_OF_WEEKYEAR- See Also:
-
DAY_OF_WEEK
static final int DAY_OF_WEEK- See Also:
-
HALFDAY_OF_DAY
static final int HALFDAY_OF_DAY- See Also:
-
HOUR_OF_HALFDAY
static final int HOUR_OF_HALFDAY- See Also:
-
CLOCKHOUR_OF_HALFDAY
static final int CLOCKHOUR_OF_HALFDAY- See Also:
-
CLOCKHOUR_OF_DAY
static final int CLOCKHOUR_OF_DAY- See Also:
-
HOUR_OF_DAY
static final int HOUR_OF_DAY- See Also:
-
MINUTE_OF_DAY
static final int MINUTE_OF_DAY- See Also:
-
MINUTE_OF_HOUR
static final int MINUTE_OF_HOUR- See Also:
-
SECOND_OF_DAY
static final int SECOND_OF_DAY- See Also:
-
SECOND_OF_MINUTE
static final int SECOND_OF_MINUTE- See Also:
-
MILLIS_OF_DAY
static final int MILLIS_OF_DAY- See Also:
-
MILLIS_OF_SECOND
static final int MILLIS_OF_SECOND- See Also:
-
-
Method Details
-
getType
int getType()Gets the code of the type, that is one of the constants defined in theAbsoluteInstantTypeclass.- Returns:
- the type code
-
getName
String getName()Gets a description of theAbsoluteInstantType.- Returns:
- the name of the type
-