def setTime(self):
self.time = self.hour
self.julianDay = self.doy
y = self.year + 4800
self.julianDay += (self.time - self.timeZone)/24.0 + 365*y + math.floor(y/4) \
- math.floor(y/100) + math.floor(y/400) - 32045.5 - 59
评论列表
文章目录