public List < Rc > getMostRecentChanges ( int days , int rcLimit ) throws Exception { Date today = new Date ( ) ; Calendar cal = new GregorianCalendar ( ) ; cal . setTime ( today ) ; cal . add ( Calendar . DAY_OF_MONTH , - days ) ; Date date30daysbefore = cal . getTime ( ) ; String rcstart = dateToMWTimeStamp ( today ) ; String rcend = dateToMWTimeStamp ( date30daysbefore ) ; List < Rc > rcList = this . getRecentChanges ( rcstart , rcend , rcLimit ) ; List < Rc > result = this . sortByTitleAndFilterDoubles ( rcList ) ; return result ; }
get the most recent changes