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, wait
getDataAll, getFeatureData
protected 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()
PointFeature
getLocation
in interface PointFeature
public double getNominalTime()
PointFeature
getNominalTime
in interface PointFeature
public double getObservationTime()
PointFeature
getObservationTime
in interface PointFeature
public java.lang.String getDescription()
public java.util.Date getObservationTimeAsDate()
PointFeature
getObservationTimeAsDate
in interface PointFeature
public java.util.Date getNominalTimeAsDate()
PointFeature
getNominalTimeAsDate
in interface PointFeature
public CalendarDate getObservationTimeAsCalendarDate()
PointFeature
getObservationTimeAsCalendarDate
in interface PointFeature
public CalendarDate getNominalTimeAsCalendarDate()
PointFeature
getNominalTimeAsCalendarDate
in interface PointFeature
public int compareTo(PointFeature other)
compareTo
in interface java.lang.Comparable<PointFeature>
public java.lang.String toString()
toString
in class java.lang.Object
public StructureData getData() throws java.io.IOException
getData
in interface PointFeature
java.io.IOException