Sprache

DateTimeFormatterBuilder.AppendOptional(DateTimeFormatter) Methode

Definition

Fügt einen Formatierer an den Generator an, der optional formatieren/analysieren wird.

[Android.Runtime.Register("appendOptional", "(Ljava/time/format/DateTimeFormatter;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendOptional(Java.Time.Format.DateTimeFormatter? formatter);
[<Android.Runtime.Register("appendOptional", "(Ljava/time/format/DateTimeFormatter;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendOptional : Java.Time.Format.DateTimeFormatter -> Java.Time.Format.DateTimeFormatterBuilder

Parameter

formatter
DateTimeFormatter

der hinzuzufügende Formatierer, nicht NULL

Gibt zurück

dies bei Verkettung und nicht bei Null

Attribute

Hinweise

Java Dokumentation für java.time.format.DateTimeFormatterBuilder.appendOptional(java.time.format.DateTimeFormatter).

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: