mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-29 03:43:34 -04:00
Python: Implemented AddDays function.
This commit is contained in:
@@ -251,6 +251,9 @@ class astro_time_t:
|
||||
self.ut = ut
|
||||
self.tt = _TerrestrialTime(ut)
|
||||
|
||||
def AddDays(self, days):
|
||||
return astro_time_t(self.ut + days)
|
||||
|
||||
_EPOCH = datetime.datetime(2000, 1, 1, 12)
|
||||
|
||||
def CurrentTime():
|
||||
|
||||
Reference in New Issue
Block a user