gov.noaa.pmel.util
Class TimeRange

java.lang.Object
  extended by gov.noaa.pmel.util.TimeRange
All Implemented Interfaces:
java.io.Serializable

Deprecated. As of sgt 3.0, use SoTRange.Time

public class TimeRange
extends java.lang.Object
implements java.io.Serializable

Contains minimum and maximum Time values.

Since:
sgt 1.0
Version:
$Revision$, $Date$
Author:
Donald Denbo
See Also:
Serialized Form

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

start

public GeoDate start
Deprecated. 
The range's first time


end

public GeoDate end
Deprecated. 
The range's last time


delta

public GeoDate delta
Deprecated. 
The range's time increment

Constructor Detail

TimeRange

public TimeRange()
Deprecated. 
the Default constructor


TimeRange

public TimeRange(GeoDate tstart,
                 GeoDate tend)
Deprecated. 
Constructor

Parameters:
tstart - first time
tend - last time

TimeRange

public TimeRange(long start,
                 long end)
Deprecated. 

TimeRange

public TimeRange(GeoDate tstart,
                 GeoDate tend,
                 GeoDate tdelta)
Deprecated. 
Constructor

Parameters:
tstart - first time
tend - last time
delta - time increment

TimeRange

public TimeRange(long start,
                 long end,
                 long delta)
Deprecated. 
Method Detail

add

public void add(TimeRange trange)
Deprecated. 
Adds the TimeRange object to this TimeRange. The resulting TimeRange is the smallest TimeRange that contains both the origial TimeRange and the specified TimeRange.


equals

public boolean equals(TimeRange tr)
Deprecated. 
Test for equality. The start, end, and delta must all be equal for equality.


toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object