DateFormatSymbols Constructors
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
DateFormatSymbols() |
Construct a DateFormatSymbols object by loading format data from
resources for the default |
DateFormatSymbols(Locale) |
Construct a DateFormatSymbols object by loading format data from resources for the given locale. |
DateFormatSymbols(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
DateFormatSymbols()
Construct a DateFormatSymbols object by loading format data from
resources for the default java.util.Locale.Category#FORMAT FORMAT
locale.
[Android.Runtime.Register(".ctor", "()V", "")]
public DateFormatSymbols ();
- Attributes
Remarks
Construct a DateFormatSymbols object by loading format data from resources for the default java.util.Locale.Category#FORMAT FORMAT
locale. It is recommended that the #getInstance(Locale) getInstance
method is used instead.
This is equivalent to calling #DateFormatSymbols(Locale) DateFormatSymbols(Locale.getDefault(Locale.Category.FORMAT))
.
Java documentation for java.text.DateFormatSymbols.DateFormatSymbols()
.
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
DateFormatSymbols(Locale)
Construct a DateFormatSymbols object by loading format data from resources for the given locale.
[Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "")]
public DateFormatSymbols (Java.Util.Locale? locale);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Locale;)V", "")>]
new Java.Text.DateFormatSymbols : Java.Util.Locale -> Java.Text.DateFormatSymbols
Parameters
- locale
- Locale
the desired locale
- Attributes
Remarks
Construct a DateFormatSymbols object by loading format data from resources for the given locale. It is recommended that the #getInstance(Locale) getInstance
method is used instead.
Java documentation for java.text.DateFormatSymbols.DateFormatSymbols(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.
Applies to
DateFormatSymbols(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected DateFormatSymbols (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Text.DateFormatSymbols : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.DateFormatSymbols
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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.