sgtplot.util
Class TimeRange
- java.lang.Object
-
- sgtplot.util.TimeRange
-
- All Implemented Interfaces:
- java.io.Serializable
Deprecated.As of sgtplot 3.0, useSoTRange.Time
public class TimeRange extends java.lang.Object implements java.io.SerializableContains minimum and maximum Time values.- Since:
- sgtplot 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description GeoDatedeltaDeprecated.The range's time incrementGeoDateendDeprecated.The range's last timeGeoDatestartDeprecated.The range's first time
-
Constructor Summary
Constructors Constructor and Description TimeRange()Deprecated.the Default constructorTimeRange(GeoDate tstart, GeoDate tend)Deprecated.ConstructorTimeRange(GeoDate tstart, GeoDate tend, GeoDate tdelta)Deprecated.ConstructorTimeRange(long start, long end)Deprecated.TimeRange(long start, long end, long delta)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description voidadd(TimeRange trange)Deprecated.Adds theTimeRangeobject to thisTimeRange.booleanequals(TimeRange tr)Deprecated.Test for equality.java.lang.StringtoString()Deprecated.
-
-
-
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 timetend- last time
-
TimeRange
public TimeRange(long start, long end)Deprecated.
-
TimeRange
public TimeRange(GeoDate tstart, GeoDate tend, GeoDate tdelta)
Deprecated.Constructor- Parameters:
tstart- first timetend- last timedelta- time increment
-
TimeRange
public TimeRange(long start, long end, long delta)Deprecated.
-
-
Method Detail
-
add
public void add(TimeRange trange)
Deprecated.Adds theTimeRangeobject to thisTimeRange. The resultingTimeRangeis the smallestTimeRangethat contains both the origialTimeRangeand the specifiedTimeRange.
-
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:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG