public abstract class PointFeatureImpl extends Object implements PointFeature, 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) |
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.
|
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.
|
Date |
getObservationTimeAsDate()
Actual time of this observation, as a Date.
|
DateUnit |
getTimeUnit()
Get the time unit of the time coordinate.
|
String |
getZcoordUnits() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getData
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 String getZcoordUnits()
public String getDescription()
public Date getObservationTimeAsDate()
PointFeature
getObservationTimeAsDate
in interface PointFeature
public Date getNominalTimeAsDate()
PointFeature
getNominalTimeAsDate
in interface PointFeature
public CalendarDate getObservationTimeAsCalendarDate()
PointFeature
getObservationTimeAsCalendarDate
in interface PointFeature
public CalendarDate getNominalTimeAsCalendarDate()
PointFeature
getNominalTimeAsCalendarDate
in interface PointFeature
public DateUnit getTimeUnit()
PointFeature
getTimeUnit
in interface PointFeature
public int compareTo(PointFeature other)
compareTo
in interface Comparable<PointFeature>
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.