stella.parameter
Interface Increasing<T>

All Known Subinterfaces:
TargetDependIncreasing<T>
All Known Implementing Classes:
AcceleratedJd, AcceleratedTime, AirmassTarget, AltTarget, AzTarget, DateTime, Jd, MoonAzimuth, MoonDec, MoonHeight, MoonRa, SettableTime, SiderealGreenwich, SiderealGreenwichApparent, SiderealTime, SolAzimuth, SolDec, SolHeight, SolLambda, SolRa, TauTarget, Time, Twilight

public interface Increasing<T>

An interface denoting that this Value implementation has a value that increases with time. More importantly, this value knows how to calculate the remaining time it will take until a certain value is reached. This time can be queried and used for e.g. scheduling purposes.


Method Summary
 Double getAscendTime(T until)
          Calculates the remaining time in ms till this parameter reaches the argument value (increasing from lower values).
 

Method Detail

getAscendTime

Double getAscendTime(T until)
Calculates the remaining time in ms till this parameter reaches the argument value (increasing from lower values). For a time query this is simply the difference between the argument value and the current time.

Parameters:
until - The value in the future.
Returns:
A double carrying the remaining time or null if the time cannot be calculated.