@classmethod<EOL><INDENT>def date_range_for_webtrends(cls, start_at=None, end_at=None):<DEDENT>
if start_at and end_at:<EOL><INDENT>start_date = cls.parse_standard_date_string_to_date(<EOL>start_at)<EOL>end_date = cls.parse_standard_date_string_to_date(<EOL>end_at)<EOL>return [(<EOL>cls.parse_date_for_query(start_date),<EOL>cls.parse_date_for_query(end_date))]<EOL><DEDENT>else:<EOL><INDENT>return [("<STR_LIT>", "<STR_LIT>")]<EOL><DEDENT>
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.