DateFormat.DateInstance 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 date formatter with the default formatting style
for the default java.util.Locale.Category#FORMAT FORMAT
locale.
public static Java.Text.DateFormat DateInstance { [Android.Runtime.Register("getDateInstance", "()Ljava/text/DateFormat;", "")] get; }
[<get: Android.Runtime.Register("getDateInstance", "()Ljava/text/DateFormat;", "")>]
static member DateInstance : Java.Text.DateFormat
Property Value
a date formatter.
- Attributes
Remarks
Gets the date formatter with the default formatting style for the default java.util.Locale.Category#FORMAT FORMAT
locale.
This is equivalent to calling #getDateInstance(int, Locale) getDateInstance(DEFAULT, Locale.getDefault(Locale.Category.FORMAT))
.
Java documentation for java.text.DateFormat.getDateInstance()
.
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.