Beispiel #1
0
 def get_epoch(self, mode):
     from scal2.time_utils import getEpochFromJhms
     date, hms = self.get_value()
     return getEpochFromJhms(
         to_jd(date[0], date[1], date[2], mode),
         *hms
     )
Beispiel #2
0
 def get_epoch(self, mode):
     date, hms = self.get_value()
     return getEpochFromJhms(
         to_jd(date[0], date[1], date[2], mode),
         *hms
     )
Beispiel #3
0
 def get_epoch(self, mode):
     from scal2.time_utils import getEpochFromJhms
     date, hms = self.get_value()
     return getEpochFromJhms(to_jd(date[0], date[1], date[2], mode), *hms)