def process_time_label(self, label):
        """
        Validates and return a 3-tuple of hour, minutes and seconds
        :raises: ValueError
        """

        # "HH:MM:SS" has eight characters
        if len(label) != 8:
            raise ValueError("Label has invalid length (must be in HH-MM-SS format")

        tokens = label.split('-')

        # Ensure tokens is a list of three values ('HH', 'MM', 'SS')
        if len(tokens) != 3 or not all(map(lambda x: len(x) == 2, tokens)):
            raise ValueError("Label be in HH-MM-SS format")

        hours = int(tokens[0])
        minutes = int(tokens[1])
        seconds = int(tokens[2])

        if hours < 0 or hours > 23 or minutes < 0 or minutes > 59 or seconds < 0 or seconds > 59:
            raise ValueError("Label must be in HH-MM-SS format")

        return hours, minutes, seconds

        Validates and return a 3-tuple of hour, minutes and seconds
        :raises: ValueError
        
powerfulseal/policy/label_runner.py