Time.GetActualMaximum(TimeFormatValues) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 屬性授權中所述的詞彙使用。