public synchronized boolean check(Calendar cal) {
        for (CronTab tab : tabs) {
            if(tab.check(cal))
                return true;
        }
        return false;
    }
public synchronized boolean check ( Calendar cal ) { for ( CronTab tab : tabs ) { if ( tab . check ( cal ) ) return true ; } return false ; }
Returns true if the given calendar matches