List of usage examples for twitter4j Query Query
public Query(String query)
From source file:wise.TwitterUtils.java
public static Query SetQueryString(String place, Date since, Date until) { Query query = new Query("place:" + place + "url:swarmapp.com"); String startDate = new SimpleDateFormat("yyyy-MM-dd").format(since); String endDate = new SimpleDateFormat("yyyy-MM-dd").format(until); query.setCount(100);//w ww. ja v a 2 s. c o m query.setSince(startDate); query.setUntil(endDate); query.setSinceId(0); return query; }