SimpleTimeZone.SetStartRule Method

Definition

Overloads

SetStartRule(Int32, Int32, Int32)

Sets the daylight saving time start rule to a fixed date within a month.

SetStartRule(Int32, Int32, Int32, Int32)

Sets the daylight saving time start rule.

SetStartRule(Int32, Int32, Int32, Int32, Boolean)

Sets the daylight saving time start rule to a weekday before or after the given date within a month, e.

SetStartRule(Int32, Int32, Int32)

Sets the daylight saving time start rule to a fixed date within a month.

[Android.Runtime.Register("setStartRule", "(III)V", "GetSetStartRule_IIIHandler")]
public virtual void SetStartRule (int startMonth, int startDay, int startTime);
[<Android.Runtime.Register("setStartRule", "(III)V", "GetSetStartRule_IIIHandler")>]
abstract member SetStartRule : int * int * int -> unit
override this.SetStartRule : int * int * int -> unit

Parameters

startMonth
Int32

The daylight saving time starting month. Month is a Calendar#MONTH MONTH field value (0-based. e.g., 0 for January).

startDay
Int32

The day of the month on which the daylight saving time starts.

startTime
Int32

The daylight saving time starting time in local wall clock time, which is local standard time in this case. See the class description for the special cases of this parameter.

Attributes

Remarks

Java documentation for java.util.SimpleTimeZone.setStartRule(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

SetStartRule(Int32, Int32, Int32, Int32)

Sets the daylight saving time start rule.

[Android.Runtime.Register("setStartRule", "(IIII)V", "GetSetStartRule_IIIIHandler")]
public virtual void SetStartRule (int startMonth, int startDay, int startDayOfWeek, int startTime);
[<Android.Runtime.Register("setStartRule", "(IIII)V", "GetSetStartRule_IIIIHandler")>]
abstract member SetStartRule : int * int * int * int -> unit
override this.SetStartRule : int * int * int * int -> unit

Parameters

startMonth
Int32

The daylight saving time starting month. Month is a Calendar#MONTH MONTH field value (0-based. e.g., 0 for January).

startDay
Int32

The day of the month on which the daylight saving time starts. See the class description for the special cases of this parameter.

startDayOfWeek
Int32

The daylight saving time starting day-of-week. See the class description for the special cases of this parameter.

startTime
Int32

The daylight saving time starting time in local wall clock time, which is local standard time in this case.

Attributes

Remarks

Java documentation for java.util.SimpleTimeZone.setStartRule(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

SetStartRule(Int32, Int32, Int32, Int32, Boolean)

Sets the daylight saving time start rule to a weekday before or after the given date within a month, e.

[Android.Runtime.Register("setStartRule", "(IIIIZ)V", "GetSetStartRule_IIIIZHandler")]
public virtual void SetStartRule (int startMonth, int startDay, int startDayOfWeek, int startTime, bool after);
[<Android.Runtime.Register("setStartRule", "(IIIIZ)V", "GetSetStartRule_IIIIZHandler")>]
abstract member SetStartRule : int * int * int * int * bool -> unit
override this.SetStartRule : int * int * int * int * bool -> unit

Parameters

startMonth
Int32

The daylight saving time starting month. Month is a Calendar#MONTH MONTH field value (0-based. e.g., 0 for January).

startDay
Int32

The day of the month on which the daylight saving time starts.

startDayOfWeek
Int32

The daylight saving time starting day-of-week.

startTime
Int32

The daylight saving time starting time in local wall clock time, which is local standard time in this case.

after
Boolean

If true, this rule selects the first dayOfWeek on or <em>after</em> dayOfMonth. If false, this rule selects the last dayOfWeek on or <em>before</em> dayOfMonth.

Attributes

Remarks

Java documentation for java.util.SimpleTimeZone.setStartRule(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