Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def BlueTime(bt):
return Time(bt // 10000000)
def SumTimes(times):
return reduce(Time.__add__, times, NoTime())
def NoTime():
return Time(0)
def Seconds(s):
return Time(s)
def __sub__(self, other):
return Time(self._secs - other._secs)