SimpleTimeZone.SetEndRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetEndRule(Int32, Int32, Int32, Int32, Boolean) |
Sets the daylight saving time end rule to a weekday before or after the given date within a month, e. |
SetEndRule(Int32, Int32, Int32, Int32) |
Sets the daylight saving time end rule. |
SetEndRule(Int32, Int32, Int32) |
Sets the daylight saving time end rule to a fixed date within a month. |
SetEndRule(Int32, Int32, Int32, Int32, Boolean)
Sets the daylight saving time end rule to a weekday before or after the given date within a month, e.
[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
Parameters
- endMonth
- Int32
The daylight saving time ending month. Month is
a Calendar#MONTH MONTH
field
value (0-based. e.g., 9 for October).
- endDay
- Int32
The day of the month on which the daylight saving time ends.
- endDayOfWeek
- Int32
The daylight saving time ending day-of-week.
- endTime
- Int32
The daylight saving ending time in local wall clock time, (in milliseconds within the day) which is local daylight time in this case.
- after
- Boolean
If true, this rule selects the first endDayOfWeek
on
or <em>after</em> endDay
. If false, this rule
selects the last endDayOfWeek
on or before
endDay
of the month.
- Attributes
Remarks
Java documentation for java.util.SimpleTimeZone.setEndRule(int, int, int, int, boolean)
.
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
SetEndRule(Int32, Int32, Int32, Int32)
Sets the daylight saving time end rule.
[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
Parameters
- endMonth
- Int32
The daylight saving time ending month. Month is
a Calendar#MONTH MONTH
field
value (0-based. e.g., 9 for October).
- endDay
- Int32
The day of the month on which the daylight saving time ends. See the class description for the special cases of this parameter.
- endDayOfWeek
- Int32
The daylight saving time ending day-of-week. See the class description for the special cases of this parameter.
- endTime
- Int32
The daylight saving ending time in local wall clock time, (in milliseconds within the day) which is local daylight time in this case.
- Attributes
Remarks
Java documentation for java.util.SimpleTimeZone.setEndRule(int, int, int, int)
.
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
SetEndRule(Int32, Int32, Int32)
Sets the daylight saving time end rule to a fixed date within a month.
[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
Parameters
- endMonth
- Int32
The daylight saving time ending month. Month is
a Calendar#MONTH MONTH
field
value (0-based. e.g., 9 for October).
- endDay
- Int32
The day of the month on which the daylight saving time ends.
- endTime
- Int32
The daylight saving ending time in local wall clock time, (in milliseconds within the day) which is local daylight time in this case.
- Attributes
Remarks
Java documentation for java.util.SimpleTimeZone.setEndRule(int, int, int)
.
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.