code: def date_range_for_webtrends(cls, start_at=None, end_at=None):
          
          if start_at and end_at:
              start_date = cls.parse_standard_date_string_to_date(
                  start_at)
              end_date = cls.parse_standard_date_string_to_date(
                  end_at)
              return [(
                  cls.parse_date_for_query(start_date),
                  cls.parse_date_for_query(end_date))]
          else:
              return [("current_hour-1", "current_hour-1")]
docs: Get the start and end formatted for query
          or the last hour if none specified.
          Unlike reports, this does not aggregate periods
          and so it is possible to just query a range and parse out the
          individual hours.