Arguments:

Return values:

forDateRange(dateFrom, dateTo)

Sets a custom date range onto the selector. Both parameters can be either an object containing
year, month, and day fields, or an 8-digit string in YYYYMMDD form. For instance,
March 24th, 2013 is represented as either {year: 2013, month: 3, day: 24}
or "20130324". The date range is inclusive on both ends, so
forDateRange("20130324", "20130324") sets the range of one day.

Date range must be specified if the selector has conditions or ordering for a stat field.
Note that only the last date range specified for the selector will take effect.

The resulting selector can be further refined by applying additional conditions to it.
The ID-based condition will then be AND-ed together with all the other conditions, including
any other ID-based conditions. So, for instance, the following selector: