DateTimeFormatterBuilder.ToFormatter 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.
Overloads
ToFormatter() |
Completes this builder by creating the |
ToFormatter(Locale) |
Completes this builder by creating the |
ToFormatter()
Completes this builder by creating the DateTimeFormatter
using the default locale.
[Android.Runtime.Register("toFormatter", "()Ljava/time/format/DateTimeFormatter;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatter? ToFormatter ();
[<Android.Runtime.Register("toFormatter", "()Ljava/time/format/DateTimeFormatter;", "", ApiSince=26)>]
member this.ToFormatter : unit -> Java.Time.Format.DateTimeFormatter
Returns
the created formatter, not null
- Attributes
Remarks
Java documentation for java.time.format.DateTimeFormatterBuilder.toFormatter()
.
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.
Applies to
ToFormatter(Locale)
Completes this builder by creating the DateTimeFormatter
using the specified locale.
[Android.Runtime.Register("toFormatter", "(Ljava/util/Locale;)Ljava/time/format/DateTimeFormatter;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatter? ToFormatter (Java.Util.Locale? locale);
[<Android.Runtime.Register("toFormatter", "(Ljava/util/Locale;)Ljava/time/format/DateTimeFormatter;", "", ApiSince=26)>]
member this.ToFormatter : Java.Util.Locale -> Java.Time.Format.DateTimeFormatter
Parameters
- locale
- Locale
the locale to use for formatting, not null
Returns
the created formatter, not null
- Attributes
Remarks
Java documentation for java.time.format.DateTimeFormatterBuilder.toFormatter(java.util.Locale)
.
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.