DateTimeFormatterBuilder.AppendOptional(DateTimeFormatter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends a formatter to the builder which will optionally format/parse.
[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
Parameters
- formatter
- DateTimeFormatter
the formatter to add, not null
Returns
this, for chaining, not null
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.