DateFormat.Field 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
DateFormat.Field(IntPtr, JniHandleOwnership) | |
DateFormat.Field(String, Int32) |
Constructs a |
DateFormat.Field(IntPtr, JniHandleOwnership)
protected Field (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Text.DateFormat.Field : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Text.DateFormat.Field
Parameters
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
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.
Applies to
DateFormat.Field(String, Int32)
Constructs a DateFormat.Field
with the given name and
the Calendar
field which this attribute represents.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=24)]
protected Field (string name, int calendarField);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=24)>]
new Android.Icu.Text.DateFormat.Field : string * int -> Android.Icu.Text.DateFormat.Field
Parameters
- name
- String
Name of the attribute
- calendarField
- Int32
Calendar
field constant
- Attributes
Remarks
Constructs a DateFormat.Field
with the given name and the Calendar
field which this attribute represents. Use -1 for calendarField
if this field does not have a corresponding Calendar
field.
Java documentation for android.icu.text.DateFormat.Field.DateFormat$Field(java.lang.String, 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.