DateTimeFormatter.Locale Property
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.
Gets the locale to be used during formatting.
public Java.Util.Locale? Locale { [Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "", ApiSince=26)>]
member this.Locale : Java.Util.Locale
Property Value
the locale of this formatter, not null
- Attributes
Remarks
Gets the locale to be used during formatting.
This is used to lookup any part of the formatter needing specific localization, such as the text or localized pattern.
Java documentation for java.time.format.DateTimeFormatter.getLocale()
.
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.