public final Observance getApplicableObservance(final Date date) {
        Observance latestObservance = null;
        Date latestOnset = null;
        for (final Observance observance : getObservances()) {
            final Date onset = observance.getLatestOnset(date);
            if (latestOnset == null
                    || (onset != null && onset.after(latestOnset))) {
                latestOnset = onset;
                latestObservance = observance;
            }
        }
        return latestObservance;
    }
public final Observance getApplicableObservance ( final Date date ) { Observance latestObservance = null ; Date latestOnset = null ; for ( final Observance observance : getObservances ( ) ) { final Date onset = observance . getLatestOnset ( date ) ; if ( latestOnset == null || ( onset != null && onset . after ( latestOnset ) ) ) { latestOnset = onset ; latestObservance = observance ; } } return latestObservance ; }
Returns the latest applicable timezone observance for the specified date.
@param date the latest possible date for a timezone observance onset
@return the latest applicable timezone observance for the specified date or null if there are no applicable
observances