public interface Time
This object is in the top level of the time hierarchy. All the temporal objects have to inherit of this interface.
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 | Method and Description |
|---|---|
Chronology |
getChronology()
Gets the chronology of the instant.
|
boolean |
intersects(Time time)
Does this time intersects with the time passed.
|
boolean |
isAbsolute()
Checks if the time is an absolute temporal type, that is an object that doesn't
has a time zone.
|
boolean |
isInstant()
Checks if the time is an instant, that is an object that represents
a position in a time scale.
|
boolean |
isInterval()
Checks if the time is an interval, that is an object that represents
a period of time between two instants.
|
boolean |
isRelative()
Checks if the time is a relative temporal type, that is an object that has
a Chronology that establish how a time object can be converted into other
object with date time fields.
|
boolean intersects(Time time)
time - an instant to check against, null means nowtrue if the time intersects with the time passed inboolean isRelative()
true
boolean isAbsolute()
true if the time object is absoluteboolean isInterval()
true if the time object is an intervalboolean isInstant()
true if the time object is an instant.Chronology getChronology()