public interface Chronology
Chronology provides access to the individual date time fields for a chronological calendar system.
Various chronologies are supported by subclasses including ISO
and GregorianJulian. To construct a Chronology you should use the
factory methods on the TimeSupportManager
.
The provided chronology implementations are:
Instances of this class are singletons and they can be compared using the
Chronology
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 |
BUDDHIST |
static int |
COPTIC |
static int |
GJ |
static int |
GREGORIAN |
static int |
ISO |
static int |
JULIAN |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Gets the code of the type, that is one of the constants defined
in the
Chronology class. |
Chronology |
withUTC()
Returns an instance of this Chronology that operates in the UTC time
zone.
|
static final int BUDDHIST
static final int COPTIC
static final int GJ
static final int GREGORIAN
static final int ISO
static final int JULIAN
int getType()
Chronology
class.Chronology withUTC()