//astronomy/io.github.cosinekitty.astronomy/Time/addDays
fun addDays(days: Double): Time
Calculates the sum or difference of an Time with a specified floating point number of days.
Sometimes we need to adjust a given Time value by a certain amount of time. This function adds the given real number of days in days to the date and time in this object.
More precisely, the result's Universal Time field ut is exactly adjusted by days and the Terrestrial Time field tt is adjusted for the resulting UTC date and time, using a best-fit piecewise polynomial model devised by Espenak and Meeus.
A date and time that is conceptually equal to time + days.
days | A floating point number of days by which to adjust time. May be negative, 0, or positive. |