def _timestamp_from_dirname(self, dir_name):
        if not os.path.isdir(dir_name):
            raise Skip('its not a build directory', dir_name)

        try:
            # Parse the timestamp from the directory name
            date_str = os.path.basename(dir_name)
            time_tuple = time.strptime(date_str, self.datetime_format)
            return time.mktime(time_tuple)
        except __HOLE__:
            return None
dataset/ETHPy150Open serverdensity/sd-agent/checks.d/jenkins.py/Jenkins._timestamp_from_dirname