語言

SimpleTimeZone.SetEndRule 方法

定義

多載

名稱 Description
SetEndRule(Int32, Int32, Int32, Int32, Boolean)

將夏令時間結束規則設定為指定日期前後的一個平日,且不限於一個月內。

SetEndRule(Int32, Int32, Int32, Int32)

訂下夏令時間結束規則。

SetEndRule(Int32, Int32, Int32)

將夏令時間結束規則設定為一個月內的固定日期。

SetEndRule(Int32, Int32, Int32, Int32, Boolean)

將夏令時間結束規則設定為指定日期前後的一個平日,且不限於一個月內。

[Android.Runtime.Register("setEndRule", "(IIIIZ)V", "GetSetEndRule_IIIIZHandler")]
public virtual void SetEndRule(int endMonth, int endDay, int endDayOfWeek, int endTime, bool after);
[<Android.Runtime.Register("setEndRule", "(IIIIZ)V", "GetSetEndRule_IIIIZHandler")>]
abstract member SetEndRule : int * int * int * int * bool -> unit
override this.SetEndRule : int * int * int * int * bool -> unit

參數

endMonth
Int32

夏令時間結束這個月。 月份是一個 Calendar#MONTH MONTH 欄位值(以 0 為基礎,例如 10 月份的 9)。

endDay
Int32

夏令時間結束的那一天。

endDayOfWeek
Int32

夏令時間在星期一結束。

endTime
Int32

夏令時間結束時間,也就是當地牆鐘時間(以白天的毫秒計),這裡指的是當地夏令時間。

after
Boolean

如果成立,這條規則會選擇第一個 endDayOfWeek on 或 <em>在 em 之後<>endDay。 若不正確,則選擇本月或之前endDay的最後一個endDayOfWeek

屬性

備註

Java 文件 java.util.SimpleTimeZone.setEndRule(int, int, int, int, boolean)

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

適用於

SetEndRule(Int32, Int32, Int32, Int32)

訂下夏令時間結束規則。

[Android.Runtime.Register("setEndRule", "(IIII)V", "GetSetEndRule_IIIIHandler")]
public virtual void SetEndRule(int endMonth, int endDay, int endDayOfWeek, int endTime);
[<Android.Runtime.Register("setEndRule", "(IIII)V", "GetSetEndRule_IIIIHandler")>]
abstract member SetEndRule : int * int * int * int -> unit
override this.SetEndRule : int * int * int * int -> unit

參數

endMonth
Int32

夏令時間結束這個月。 月份是一個 Calendar#MONTH MONTH 欄位值(以 0 為基礎,例如 10 月份的 9)。

endDay
Int32

夏令時間結束的那一天。 關於此參數的特殊情況,請參見類別描述。

endDayOfWeek
Int32

夏令時間在星期一結束。 關於此參數的特殊情況,請參見類別描述。

endTime
Int32

夏令時間結束時間,也就是當地牆鐘時間(以白天的毫秒計),這裡指的是當地夏令時間。

屬性

備註

Java 文件 java.util.SimpleTimeZone.setEndRule(int, int, int, int)

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

適用於

SetEndRule(Int32, Int32, Int32)

將夏令時間結束規則設定為一個月內的固定日期。

[Android.Runtime.Register("setEndRule", "(III)V", "GetSetEndRule_IIIHandler")]
public virtual void SetEndRule(int endMonth, int endDay, int endTime);
[<Android.Runtime.Register("setEndRule", "(III)V", "GetSetEndRule_IIIHandler")>]
abstract member SetEndRule : int * int * int -> unit
override this.SetEndRule : int * int * int -> unit

參數

endMonth
Int32

夏令時間結束這個月。 月份是一個 Calendar#MONTH MONTH 欄位值(以 0 為基礎,例如 10 月份的 9)。

endDay
Int32

夏令時間結束的那一天。

endTime
Int32

夏令時間結束時間,也就是當地牆鐘時間(以白天的毫秒計),這裡指的是當地夏令時間。

屬性

備註

Java 文件 java.util.SimpleTimeZone.setEndRule(int, int, int)

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

適用於