def build_cycle_time(self, build_id):
        """Returns a BuildCycleTime object for the given build"""
        json_form = self.__retrieve_as_json(self.builds_path % build_id)
        return BuildCycleTime(
            build_id,
            json_form[u'buildTypeId'],
            as_date(json_form, u'startDate'),
            (as_date(json_form, u'finishDate') - as_date(json_form, u'queuedDate')).seconds * 1000
        )
def build_cycle_time ( self , build_id ) : json_form = self . __retrieve_as_json ( self . builds_path % build_id ) return BuildCycleTime ( build_id , json_form [ u'buildTypeId' ] , as_date ( json_form , u'startDate' ) , ( as_date ( json_form , u'finishDate' ) - as_date ( json_form , u'queuedDate' ) ) . seconds * 1000 )
Returns a BuildCycleTime object for the given build