語言

DateFormat.Hour1Field 欄位

定義

警告

This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.

FieldPosition 選擇器用於對應欄位的「h」欄位對齊 Calendar#HOUR 。

[Android.Runtime.Register("HOUR1_FIELD", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)]
public const Android.Icu.Text.DateFormatField Hour1Field = 15;
[<Android.Runtime.Register("HOUR1_FIELD", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Text.DateFormatField enum directly instead of this field.", true)>]
val mutable Hour1Field : Android.Icu.Text.DateFormatField

欄位值

Value = 15
屬性

備註

FieldPosition 選擇器用於對應欄位的「h」欄位對齊 Calendar#HOUR 。 HOUR1_FIELD用於一基制的12小時制。 例如,晚上11:30+1小時後會變成凌晨12:30。

Java 文件 android.icu.text.DateFormat.HOUR1_FIELD。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於