def __init__(self, header, values, datetimes):
assert isinstance(header, Header),'<STR_LIT>'.format(type(header))<EOL>assert isinstance(header.analysis_period, AnalysisPeriod),'<STR_LIT>'.format(self.__class__.__name__)<EOL>assert isinstance(datetimes, Iterable)and not isinstance(datetimes, (str, dict, bytes, bytearray)),'<STR_LIT>'.format(type(datetimes))<EOL>self._header = header<EOL>self._datetimes = tuple(datetimes)<EOL>self.values = values<EOL>self._validated_a_period = False<EOL>
Initialize hourly discontinuous collection.

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