fromDate and toDate can have a range of 3 years maximum with a minimum interval of "month". "day" interval work for a range (toDate-fromDate) within 1 month from current date. "month" interval works for a range (toDate-fromDate) outside of the last month from the current date.