다음을 통해 공유


TimeZoneFormat.Format Method

Definition

Overloads

Format(Object, StringBuffer, FieldPosition)
Format(TimeZoneFormat+Style, TimeZone, Int64)
Format(TimeZoneFormat+Style, TimeZone, Int64, Output)

Format(Object, StringBuffer, FieldPosition)

[Android.Runtime.Register("format", "(Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_Ljava_lang_Object_Ljava_lang_StringBuffer_Ljava_text_FieldPosition_Handler", ApiSince=24)]
public override Java.Lang.StringBuffer? Format (Java.Lang.Object? obj, Java.Lang.StringBuffer? toAppendTo, Java.Text.FieldPosition? pos);
[<Android.Runtime.Register("format", "(Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_Ljava_lang_Object_Ljava_lang_StringBuffer_Ljava_text_FieldPosition_Handler", ApiSince=24)>]
override this.Format : Java.Lang.Object * Java.Lang.StringBuffer * Java.Text.FieldPosition -> Java.Lang.StringBuffer

Parameters

obj
Object
toAppendTo
StringBuffer

Returns

Attributes

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

Format(TimeZoneFormat+Style, TimeZone, Int64)

[Android.Runtime.Register("format", "(Landroid/icu/text/TimeZoneFormat$Style;Landroid/icu/util/TimeZone;J)Ljava/lang/String;", "", ApiSince=24)]
public string? Format (Android.Icu.Text.TimeZoneFormat.Style? style, Android.Icu.Util.TimeZone? tz, long date);
[<Android.Runtime.Register("format", "(Landroid/icu/text/TimeZoneFormat$Style;Landroid/icu/util/TimeZone;J)Ljava/lang/String;", "", ApiSince=24)>]
override this.Format : Android.Icu.Text.TimeZoneFormat.Style * Android.Icu.Util.TimeZone * int64 -> string

Parameters

date
Int64

Returns

Attributes

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

Format(TimeZoneFormat+Style, TimeZone, Int64, Output)

[Android.Runtime.Register("format", "(Landroid/icu/text/TimeZoneFormat$Style;Landroid/icu/util/TimeZone;JLandroid/icu/util/Output;)Ljava/lang/String;", "GetFormat_Landroid_icu_text_TimeZoneFormat_Style_Landroid_icu_util_TimeZone_JLandroid_icu_util_Output_Handler", ApiSince=24)]
public virtual string? Format (Android.Icu.Text.TimeZoneFormat.Style? style, Android.Icu.Util.TimeZone? tz, long date, Android.Icu.Util.Output? timeType);
[<Android.Runtime.Register("format", "(Landroid/icu/text/TimeZoneFormat$Style;Landroid/icu/util/TimeZone;JLandroid/icu/util/Output;)Ljava/lang/String;", "GetFormat_Landroid_icu_text_TimeZoneFormat_Style_Landroid_icu_util_TimeZone_JLandroid_icu_util_Output_Handler", ApiSince=24)>]
override this.Format : Android.Icu.Text.TimeZoneFormat.Style * Android.Icu.Util.TimeZone * int64 * Android.Icu.Util.Output -> string

Parameters

date
Int64
timeType
Output

Returns

Attributes

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