TimeZone.InDaylightTime(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.
Queries if the given date is in daylight savings time in this time zone.
[Android.Runtime.Register("inDaylightTime", "(Ljava/util/Date;)Z", "GetInDaylightTime_Ljava_util_Date_Handler", ApiSince=24)]
public abstract bool InDaylightTime (Java.Util.Date? date);
[<Android.Runtime.Register("inDaylightTime", "(Ljava/util/Date;)Z", "GetInDaylightTime_Ljava_util_Date_Handler", ApiSince=24)>]
abstract member InDaylightTime : Java.Util.Date -> bool
Parameters
- date
- Date
the given Date.
Returns
true if the given date is in daylight savings time, false, otherwise.
- Attributes
Remarks
Queries if the given date is in daylight savings time in this time zone.
Java documentation for android.icu.util.TimeZone.inDaylightTime(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.