Exemplo n.º 1
0
 def __init__(
     self,
     start_offset=NegativeInfinity,
     stop_offset=Infinity,
     annotation=None,
     ):
     Timespan.__init__(
         self,
         start_offset=start_offset,
         stop_offset=stop_offset,
         )
     self._annotation = annotation
Exemplo n.º 2
0
 def __init__(
     self,
     start_offset=NegativeInfinity,
     stop_offset=Infinity,
     annotation=None,
     ):
     Timespan.__init__(
         self,
         start_offset=start_offset,
         stop_offset=stop_offset,
         )
     self._annotation = annotation
Exemplo n.º 3
0
 def __init__(
     self,
     start_offset=NegativeInfinity,
     stop_offset=Infinity,
     used=False,
     ):
     if start_offset is None:
         start_offset = NegativeInfinity
     if stop_offset is None:
         stop_offset = Infinity
     Timespan.__init__(
         self,
         start_offset=start_offset,
         stop_offset=stop_offset,
         )
     self._used = bool(used)
Exemplo n.º 4
0
 def __init__(
     self,
     start_offset=NegativeInfinity,
     stop_offset=Infinity,
     used=False,
 ):
     if start_offset is None:
         start_offset = NegativeInfinity
     if stop_offset is None:
         stop_offset = Infinity
     Timespan.__init__(
         self,
         start_offset=start_offset,
         stop_offset=stop_offset,
     )
     self._used = bool(used)