private SortedSet < Date > filterExceptions ( SortedSet < Date > dates ) { SortedSet < Date > result = new TreeSet < Date > ( ) ; for ( Date d : dates ) { if ( ! m_exceptions . contains ( d ) ) { result . add ( d ) ; } } return result ; }
Filters all exceptions from the provided dates .