public class OrbitDatumRange extends DatumRange implements java.io.Serializable
dr= new OrbitDatumRange( "crres", "6" )
dr.toString() → "orbit:crres:6"
dr= dr.next()
dr.toString() → "orbit:crres:7"
Also, orbit:http://das2.org/wiki/index.php/Orbits/crres:6 is supported for development work and personal lists.Constructor and Description |
---|
OrbitDatumRange(java.lang.String sc,
java.lang.String orbit) |
OrbitDatumRange(java.lang.String sc,
java.lang.String orbit,
Units unitPref) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Compare this to another DatumRange, ordered by the lesser datum,
then the greater datum.
|
DatumRange |
convertTo(Units u)
return this DatumRange in new units.
|
boolean |
equals(java.lang.Object o)
returns true if the two endpoints are equal.
|
java.lang.String |
getOrbit()
return the string identifying this orbit, assuming the context is
provided elsewhere.
|
int |
hashCode() |
DatumRange |
next()
returns the next DatumRange covering the space defined by Units.
|
DatumRange |
previous()
returns the previous DatumRange covering the space defined by Units.
|
java.lang.String |
toString()
returns a human consumable representation of the string.
|
contains, contains, getUnits, include, intersection, intersects, max, middle, min, newDatumRange, newRange, newRange, newRange, rescale, union, width, zoomOut
public OrbitDatumRange(java.lang.String sc, java.lang.String orbit) throws java.text.ParseException
java.text.ParseException
public OrbitDatumRange(java.lang.String sc, java.lang.String orbit, Units unitPref) throws java.text.ParseException
java.text.ParseException
public DatumRange next()
DatumRange
next
in class DatumRange
public DatumRange previous()
DatumRange
previous
in class DatumRange
public DatumRange convertTo(Units u)
DatumRange
convertTo
in class DatumRange
u
- the new units.public int compareTo(java.lang.Object o)
DatumRange
compareTo
in interface java.lang.Comparable
compareTo
in class DatumRange
o
- the DatumRange to compare this DatumRange to.public boolean equals(java.lang.Object o)
DatumRange
equals
in class DatumRange
public int hashCode()
hashCode
in class DatumRange
public java.lang.String getOrbit()
public java.lang.String toString()
DatumRange
toString
in class DatumRange