Next / Previous / Contents / Shipman's homepage

9.4. JulianDate.offset(): Move a time by some number of days

To obtain a new JulianDate instance that differs from some instance J by some number of days D, use this method:

J.offset(D)

For example, to get a date three days in the past, use a D value of -3.