Package bosco :: Module ranking :: Class RelayStarttime
[hide private]
[frames] | no frames]

Class RelayStarttime

source code

   object --+            
            |            
CachingObject --+        
                |        
        Starttime --+    
                    |    
   MassstartStarttime --+
                        |
                       RelayStarttime

Returns start time computed from starttime == finish time of the previous runner in a relay team. If the computed time is later than the mass start time, the mass start time is returned.

Instance Methods [hide private]
 
__init__(self, massstart_time, ordered=True, cache=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_prev_finish_ordered(self, obj) source code
 
_prev_finish_unordered(self, obj) source code
 
starttime(self, obj) source code

Inherited from CachingObject (private): _from_cache, _to_cache

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, massstart_time, ordered=True, cache=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • massstart_time (datetime) - Time of the mass start
  • ordered (boolean) - If true this assumes that the runners follow in a order defined by their number.
Overrides: object.__init__

starttime(self, obj)

source code 
Overrides: Starttime.starttime