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 )
def get_epoch(self, mode): date, hms = self.get_value() return getEpochFromJhms( to_jd(date[0], date[1], date[2], mode), *hms )
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)