brr.delete(yearResource);
} else if ( year == oldYear ) {
// same year - check months
final int oldMonth = oldDate.get(Calendar.MONTH) + 1;
final Iterator<Resource> monthIter = yearResource.listChildren();
while ( monthIter.hasNext() ) {
final Resource monthResource = monthIter.next();
final int month = Integer.valueOf(monthResource.getName());
if ( month < oldMonth ) {
brr.delete(monthResource);