public ChronoFormatter<T> with(
        AttributeKey<Boolean> key,
        boolean value
    ) {

        Attributes attrs =
            new Attributes.Builder()
            .setAll(this.globalAttributes.getAttributes())
            .set(key, value)
            .build();
        return new ChronoFormatter<>(this, attrs);

    }
public ChronoFormatter < T > with ( AttributeKey < Boolean > key , boolean value ) { Attributes attrs = new Attributes . Builder ( ) . setAll ( this . globalAttributes . getAttributes ( ) ) . set ( key , value ) . build ( ) ; return new ChronoFormatter < > ( this , attrs ) ; }
/*[deutsch]
<p>Erzeugt eine Kopie mit dem angegebenen boolean-Attribut. </p>

<p>Hinweis: Sektionale Attribute werden nicht &uuml;bersteuert. </p>

@param   key     attribute key
@param   value   attribute value
@return  changed copy with the new or changed attribute while
this instance remains unaffected