Hi,
I'm trying to fetch the budget for a particular account using Google Id in JAVA. I want to send a date range which is my start date and end date. I can't find any documentation on how to add date range in Budget API. I have converted into DateTime but still, it returns me all data for that account. I'm using the below code to on Selector to get data. Please help me with this.
DateTimeFormatter formatter = DateTimeFormat.forPattern("dd/MM/yyyy HH:mm:ss");
DateTime start = formatter.parseDateTime(startdate);
DateTime end = formatter.parseDateTime(endate);
SelectorBuilder selectorBuilder1 =
new SelectorBuilder().forDateRange(start, end)
.limit(5)
.orderDescBy(BudgetOrderField.EndDateTime;.
Thank You.