語言

Time.GetActualMaximum(TimeFormatValues) 方法

定義

警告

deprecated

回傳給定欄位在其他欄位值下的最大可能值。

[Android.Runtime.Register("getActualMaximum", "(I)I", "GetGetActualMaximum_IHandler")]
[System.Obsolete("deprecated")]
public virtual int GetActualMaximum(Android.Text.Format.TimeFormatValues field);
[<Android.Runtime.Register("getActualMaximum", "(I)I", "GetGetActualMaximum_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetActualMaximum : Android.Text.Format.TimeFormatValues -> int
override this.GetActualMaximum : Android.Text.Format.TimeFormatValues -> int

參數

field
TimeFormatValues

這是小時、分鐘、秒等的常數之一。

傳回

該場的最大值。

屬性

備註

回傳給定欄位在其他欄位值下的最大可能值。 需要為MONTH_DAY和YEAR_DAY標準化。

Java 文件 android.text.format.Time.getActualMaximum(int)。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於