DateTimePatternGenerator.GetDateTimeFormat(Int32) Method
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.
Getter corresponding to setDateTimeFormat.
[Android.Runtime.Register("getDateTimeFormat", "(I)Ljava/lang/String;", "GetGetDateTimeFormat_IHandler", ApiSince=35)]
public virtual string? GetDateTimeFormat (int style);
[<Android.Runtime.Register("getDateTimeFormat", "(I)Ljava/lang/String;", "GetGetDateTimeFormat_IHandler", ApiSince=35)>]
abstract member GetDateTimeFormat : int -> string
override this.GetDateTimeFormat : int -> string
- style
- Int32
one of DateFormat.FULL..DateFormat.SHORT. An exception will be thrown if out of range.
the current dateTimeFormat for the specified style.
- Attributes
Getter corresponding to setDateTimeFormat.
Java documentation for android.icu.text.DateTimePatternGenerator.getDateTimeFormat(int)
.
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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 35 |