Calendar.Set Calendar.Set Method

Definition

Overloads

Set(CalendarField, Int32) Set(CalendarField, Int32)

Sets the given field to the given value.

Set(Int32, Int32, Int32) Set(Int32, Int32, Int32)

Sets the year, month, and day of the month fields.

Set(Int32, Int32, Int32, Int32, Int32) Set(Int32, Int32, Int32, Int32, Int32)

Sets the year, month, day of the month, hour of day, and minute fields.

Set(Int32, Int32, Int32, Int32, Int32, Int32) Set(Int32, Int32, Int32, Int32, Int32, Int32)

Sets the year, month, day of the month, hour of day, minute, and second fields.

Set(CalendarField, Int32) Set(CalendarField, Int32)

Sets the given field to the given value.

[Android.Runtime.Register("set", "(II)V", "GetSet_IIHandler")]
public virtual void Set (Java.Util.CalendarField field, int value);
abstract member Set : Java.Util.CalendarField * int -> unit
override this.Set : Java.Util.CalendarField * int -> unit

Parameters

value
Int32 Int32

Remarks

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.

Set(Int32, Int32, Int32) Set(Int32, Int32, Int32)

Sets the year, month, and day of the month fields.

[Android.Runtime.Register("set", "(III)V", "")]
public void Set (int year, int month, int date);
member this.Set : int * int * int -> unit

Parameters

year
Int32 Int32
month
Int32 Int32
date
Int32 Int32

Remarks

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.

Set(Int32, Int32, Int32, Int32, Int32) Set(Int32, Int32, Int32, Int32, Int32)

Sets the year, month, day of the month, hour of day, and minute fields.

[Android.Runtime.Register("set", "(IIIII)V", "")]
public void Set (int year, int month, int date, int hourOfDay, int minute);
member this.Set : int * int * int * int * int -> unit

Parameters

year
Int32 Int32
month
Int32 Int32
date
Int32 Int32
hourOfDay
Int32 Int32
minute
Int32 Int32

Remarks

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.

Set(Int32, Int32, Int32, Int32, Int32, Int32) Set(Int32, Int32, Int32, Int32, Int32, Int32)

Sets the year, month, day of the month, hour of day, minute, and second fields.

[Android.Runtime.Register("set", "(IIIIII)V", "")]
public void Set (int year, int month, int date, int hourOfDay, int minute, int second);
member this.Set : int * int * int * int * int * int -> unit

Parameters

year
Int32 Int32
month
Int32 Int32
date
Int32 Int32
hourOfDay
Int32 Int32
minute
Int32 Int32
second
Int32 Int32

Remarks

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