mhuss AstroLib 1.1.4a

com.mhuss.AstroLib
Class TimePair

java.lang.Object
  |
  +--com.mhuss.AstroLib.TimePair
All Implemented Interfaces:
java.io.Serializable

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

A simple class used to store a pair of times. This is typically either a rise/set or a start/end pair.

See Also:
Serialized Form

Field Summary
 double a
          The start or rise time
 double b
          The end or set time.
 
Constructor Summary
TimePair()
          Default constructor
TimePair(double a, double b)
          Explicit (both values) constructor.
TimePair(TimePair tp)
          Copy constructor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

a

public double a
The start or rise time


b

public double b
The end or set time.

Constructor Detail

TimePair

public TimePair(double a,
                double b)
Explicit (both values) constructor.

Parameters:
a - The first (rise or start) time
b - The second (set or end) time

TimePair

public TimePair(TimePair tp)
Copy constructor


TimePair

public TimePair()
Default constructor


mhuss AstroLib 1.1.4a

bottom text