Share via


Calendar.Builder.SetInstant Method

Definition

Overloads

SetInstant(Int64)
SetInstant(Date)

SetInstant(Int64)

[Android.Runtime.Register("setInstant", "(J)Ljava/util/Calendar$Builder;", "GetSetInstant_JHandler", ApiSince=26)]
public virtual Java.Util.Calendar.Builder SetInstant (long instant);
[<Android.Runtime.Register("setInstant", "(J)Ljava/util/Calendar$Builder;", "GetSetInstant_JHandler", ApiSince=26)>]
abstract member SetInstant : int64 -> Java.Util.Calendar.Builder
override this.SetInstant : int64 -> Java.Util.Calendar.Builder

Parameters

instant
Int64

Returns

Attributes

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

SetInstant(Date)

[Android.Runtime.Register("setInstant", "(Ljava/util/Date;)Ljava/util/Calendar$Builder;", "GetSetInstant_Ljava_util_Date_Handler", ApiSince=26)]
public virtual Java.Util.Calendar.Builder SetInstant (Java.Util.Date instant);
[<Android.Runtime.Register("setInstant", "(Ljava/util/Date;)Ljava/util/Calendar$Builder;", "GetSetInstant_Ljava_util_Date_Handler", ApiSince=26)>]
abstract member SetInstant : Java.Util.Date -> Java.Util.Calendar.Builder
override this.SetInstant : Java.Util.Date -> Java.Util.Calendar.Builder

Parameters

instant
Date

Returns

Attributes

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