TIME_INC
Name
TIME_INC
Purpose
This computes the time given a start time and an increment.
Category
Date and time calculations.
Calling Sequence
time = TIME_INC(t, dt)
Input
t0 : structure {jtime, jday: 0L, seconds: 0L}
containing the date as Julian day and seconds from midnight
dt : time increment in seconds (positive or negative)
Output
t1 : structure {jtime, jday: 0L, seconds: 0L}
containing the date as Julian day and seconds from midnight
Keywords
check: If set, input parameter range checking is turned on.
Check can also be set to a two-element array containing
the lower and upper limits on the Julian day.
Procedure
This function does some simple range checking on the input parameters
and then computes the time difference.
Modification History
Kenneth Bowman, 1995-08.
Kenneth Bowman, 2001-09-12. Updated to handle CDATE structures as well as JTIME structures.