code: def _check_time_format(self, labels, values):
          
  
          for label, value in zip(labels, values):
              if value == "*":
                  continue
              if label == "day_of_week":
                  if isinstance(value, string_types):
                      if value not in ORDER_WEEK:
                          raise ParseError("'%s' is not day of the week. "
                                           "character is the only '%s'" % (
                                               value, ', '.join(ORDER_WEEK)))
                  elif not isinstance(value, int):
                      raise TypeError("'%s' is not an int" % value)
  
              if label in ["year", "month", "day", "num_of_week"]:
                  if not isinstance(value, int):
                      raise TypeError("'%s' is not an int" % value)
  
              if isinstance(value, int):
                  start, end = TIME_INFO[label]
                  if not start <= value <= end:
                      raise PeriodRangeError("'%d' is outside the scope of the period "
                                             "'%s' range: '%d' to '%d'" % (
                                                 value, label, start, end))
docs: To check the format of the times
  
          :param list labels: years or months or days or number week
          :param list values: number or the asterisk in the list
          :rtype: None or Exception
          :raises PeriodRangeError: outside the scope of the period
          :raises ParseError: not parse the day of the week
          :return: in the case of exception returns the exception