public boolean encloses(T temporal) {

        for (ChronoInterval<T> interval : this.intervals) {
            if (interval.contains(temporal)) {
                return true;
            } else if (interval.isAfter(temporal)) {
                break;
            }
        }

        return false;

    }
public boolean encloses ( T temporal ) { for ( ChronoInterval < T > interval : this . intervals ) { if ( interval . contains ( temporal ) ) { return true ; } else if ( interval . isAfter ( temporal ) ) { break ; } } return false ; }
/*[deutsch]
<p>Fragt ab, ob irgendein Intervall dieser Menge den angegebenen Zeitpunkt enth&auml;lt. </p>

@param   temporal    time point to be queried
@return  {@code true} if given time point belongs to any interval of this collection else {@code false}
@since   3.35/4.30