예제 #1
0
 def end(self):
     return DateTime(calcTime(self.context)[1])
 def time(self):
     timerange = calcTime(self.context)
     if not timerange:
         return 'Unknown'
     return "%s - %s" % tuple([ x.split()[1] for x in  timerange])
예제 #3
0
 def start(self):
     return DateTime(calcTime(self.context)[0])
예제 #4
0
 def time(self):
     timerange = calcTime(self.context)
     if not timerange:
         return 'Unknown'
     return "%s - %s" % tuple([x.split()[1] for x in timerange])