Calendar.InvokeIsWeekend(Date) 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.
<strong>[icu]</strong> Returns true if the given date and time is in the weekend in this calendar system.
[Android.Runtime.Register("isWeekend", "(Ljava/util/Date;)Z", "GetInvokeIsWeekend_Ljava_util_Date_Handler", ApiSince=24)]
public virtual bool InvokeIsWeekend (Java.Util.Date? date);
[<Android.Runtime.Register("isWeekend", "(Ljava/util/Date;)Z", "GetInvokeIsWeekend_Ljava_util_Date_Handler", ApiSince=24)>]
abstract member InvokeIsWeekend : Java.Util.Date -> bool
override this.InvokeIsWeekend : Java.Util.Date -> bool
Parameters
- date
- Date
the date and time
Returns
true if the given date and time is part of the weekend
- Attributes
Remarks
<strong>[icu]</strong> Returns true if the given date and time is in the weekend in this calendar system. Equivalent to calling setTime() followed by isWeekend(). Note: This method changes the time this calendar is set to.
Java documentation for android.icu.util.Calendar.isWeekend(java.util.Date)
.
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.