|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.pmel.util.TimeRange
SoTRange.Time
public class TimeRange
Contains minimum and maximum Time values.
Field Summary | |
---|---|
GeoDate |
delta
Deprecated. The range's time increment |
GeoDate |
end
Deprecated. The range's last time |
GeoDate |
start
Deprecated. The range's first time |
Constructor Summary | |
---|---|
TimeRange()
Deprecated. the Default constructor |
|
TimeRange(GeoDate tstart,
GeoDate tend)
Deprecated. Constructor |
|
TimeRange(GeoDate tstart,
GeoDate tend,
GeoDate tdelta)
Deprecated. Constructor |
|
TimeRange(long start,
long end)
Deprecated. |
|
TimeRange(long start,
long end,
long delta)
Deprecated. |
Method Summary | |
---|---|
void |
add(TimeRange trange)
Deprecated. Adds the TimeRange object to this
TimeRange . |
boolean |
equals(TimeRange tr)
Deprecated. Test for equality. |
java.lang.String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public GeoDate start
public GeoDate end
public GeoDate delta
Constructor Detail |
---|
public TimeRange()
public TimeRange(GeoDate tstart, GeoDate tend)
tstart
- first timetend
- last timepublic TimeRange(long start, long end)
public TimeRange(GeoDate tstart, GeoDate tend, GeoDate tdelta)
tstart
- first timetend
- last timedelta
- time incrementpublic TimeRange(long start, long end, long delta)
Method Detail |
---|
public void add(TimeRange trange)
TimeRange
object to this
TimeRange
. The resulting TimeRange
is
the smallest TimeRange
that contains both the
origial TimeRange
and the specified
TimeRange
.
public boolean equals(TimeRange tr)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |