public boolean isExceptionToday ( ) { if ( daysOfWeek != null && daysOfWeek . length > 0 ) { int dayOfWeekNow = Calendar . getInstance ( ) . get ( Calendar . DAY_OF_WEEK ) ; for ( int exceptionDay : daysOfWeek ) { if ( exceptionDay == dayOfWeekNow ) { return true ; } } } return false ; }
If today is a day configured as an exception .