java - How to filter data on DATE field in google sheet using ListQuery -


i have google sheet, there column date stores date in dd-mm-yyyy format. using java trying fetch records specific date example want records of 14/01/2016. have tried below code.

url listfeedurl = new url(worksheet.getlistfeedurl().tostring()); listquery listquery = new listquery(listfeedurl);  listquery.setspreadsheetquery("date==\"14/01/2016\""); // not working. //listquery.setspreadsheetquery("broadcastsubject==\"3-minute belly tightening trick\""); //working fine.    system.out.println(listquery.getspreadsheetquery());  listfeed listfeed = googleservice.getfeed(listquery, listfeed.class);  system.out.println(listfeed.getstartindex()); system.out.println(listfeed.gettotalresults());  (listentry row : listfeed.getentries()) {       system.out.println(row.getcustomelements().getvalue("date")+"=================="+report.getdate());       system.out.println(row.getcustomelements().getvalue("broadcastsubject")); } 

i have tried broadcastsubject column name working perfectly, gives me number of rows. when tried date field gives me 0 rows. can please tell me how date field....!!!


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -