def __init__(self, header, values):
assert isinstance(header, Header),'<STR_LIT>'.format(type(header))<EOL>assert isinstance(header.analysis_period, AnalysisPeriod),'<STR_LIT>'.format(self.__class__.__name__)<EOL>assert header.analysis_period.st_hour == <NUM_LIT:0>,'<STR_LIT>'.format(<EOL>self.__class__.__name__, header.analysis_period.st_hour)<EOL>assert header.analysis_period.end_hour == <NUM_LIT>,'<STR_LIT>'.format(<EOL>self.__class__.__name__, header.analysis_period.end_hour)<EOL>self._header = header<EOL>self.values = values<EOL>self._datetimes = None<EOL>self._validated_a_period = True<EOL>
Initialize hourly discontinuous collection.

        Args:
            header: A Ladybug Header object.  Note that this header
                must have an AnalysisPeriod on it that aligns with the
                list of values.
            values: A list of values.  Note that the length of this list
                must align with the AnalysisPeriod on the header.