다음을 통해 공유


DateFormat.Field Constructors

Definition

Overloads

DateFormat.Field(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

DateFormat.Field(String, Int32)

Creates a Field.

DateFormat.Field(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Field (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Text.DateFormat.Field : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.DateFormat.Field

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

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.

Applies to

DateFormat.Field(String, Int32)

Creates a Field.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
protected Field (string name, int calendarField);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Java.Text.DateFormat.Field : string * int -> Java.Text.DateFormat.Field

Parameters

name
String

the name of the Field

calendarField
Int32

the Calendar constant this Field corresponds to; any value, even one outside the range of legal Calendar values may be used, but -1 should be used for values that don't correspond to legal Calendar values

Attributes

Remarks

Creates a Field.

Java documentation for java.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.

Applies to