public abstract class PointFeatureImpl extends java.lang.Object implements PointFeature, java.lang.Comparable<PointFeature>
| Modifier and Type | Field and Description |
|---|---|
protected EarthLocation |
location |
protected double |
nomTime |
protected double |
obsTime |
protected DateUnit |
timeUnit |
| Constructor and Description |
|---|
PointFeatureImpl(DateUnit timeUnit) |
PointFeatureImpl(EarthLocation location,
double obsTime,
double nomTime,
DateUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PointFeature other) |
StructureData |
getData() |
java.lang.String |
getDescription() |
EarthLocation |
getLocation()
Location of this observation
|
double |
getNominalTime()
Nominal time of this observation.
|
CalendarDate |
getNominalTimeAsCalendarDate()
Nominal time of this observation, as a Date.
|
java.util.Date |
getNominalTimeAsDate()
Nominal time of this observation, as a Date.
|
double |
getObservationTime()
Actual time of this observation.
|
CalendarDate |
getObservationTimeAsCalendarDate()
Actual time of this observation, as a Date.
|
java.util.Date |
getObservationTimeAsDate()
Actual time of this observation, as a Date.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataAll, getFeatureDataprotected EarthLocation location
protected double obsTime
protected double nomTime
protected DateUnit timeUnit
public PointFeatureImpl(DateUnit timeUnit)
public PointFeatureImpl(EarthLocation location, double obsTime, double nomTime, DateUnit timeUnit)
public EarthLocation getLocation()
PointFeaturegetLocation in interface PointFeaturepublic double getNominalTime()
PointFeaturegetNominalTime in interface PointFeaturepublic double getObservationTime()
PointFeaturegetObservationTime in interface PointFeaturepublic java.lang.String getDescription()
public java.util.Date getObservationTimeAsDate()
PointFeaturegetObservationTimeAsDate in interface PointFeaturepublic java.util.Date getNominalTimeAsDate()
PointFeaturegetNominalTimeAsDate in interface PointFeaturepublic CalendarDate getObservationTimeAsCalendarDate()
PointFeaturegetObservationTimeAsCalendarDate in interface PointFeaturepublic CalendarDate getNominalTimeAsCalendarDate()
PointFeaturegetNominalTimeAsCalendarDate in interface PointFeaturepublic int compareTo(PointFeature other)
compareTo in interface java.lang.Comparable<PointFeature>public java.lang.String toString()
toString in class java.lang.Objectpublic StructureData getData() throws java.io.IOException
getData in interface PointFeaturejava.io.IOException