mhuss utils 1.1.5ws

com.mhuss.AstroLib
Class TimePair

java.lang.Object
  extended by com.mhuss.AstroLib.TimePair

public class TimePair
extends java.lang.Object

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


Field Summary
 double a
          The start or rise time
 double b
          The end or set time.
 double c
          The third (Culmination) time.
 
Constructor Summary
TimePair()
          Default constructor
TimePair(double a, double b)
          Explicit (both values) constructor.
TimePair(double a, double b, double c)
          Explicit (three values) constructor.
TimePair(TimePair tp)
          Copy constructor
 
Method Summary
 
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.


c

public double c
The third (Culmination) 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(double a,
                double b,
                double c)
Explicit (three values) constructor.

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

TimePair

public TimePair(TimePair tp)
Copy constructor


TimePair

public TimePair()
Default constructor


mhuss utils 1.1.5ws

bottom text