Freigeben über


Calendar.SetWeekDate(Int32, Int32, Int32) Method

Definition

Sets the date of this Calendar with the the given date specifiers - week year, week of year, and day of week.

[Android.Runtime.Register("setWeekDate", "(III)V", "GetSetWeekDate_IIIHandler", ApiSince=24)]
public virtual void SetWeekDate (int weekYear, int weekOfYear, int dayOfWeek);
[<Android.Runtime.Register("setWeekDate", "(III)V", "GetSetWeekDate_IIIHandler", ApiSince=24)>]
abstract member SetWeekDate : int * int * int -> unit
override this.SetWeekDate : int * int * int -> unit

Parameters

weekYear
Int32

the week year

weekOfYear
Int32

the week number based on weekYear

dayOfWeek
Int32

the day of week value: one of the constants for the #DAY_OF_WEEK field: #SUNDAY, ..., #SATURDAY.

Attributes

Remarks

Java documentation for java.util.Calendar.setWeekDate(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