Aracılığıyla paylaş


TimeZone.InDaylightTime(Date) Method

Definition

Queries if the given date is in Daylight Saving Time in this time zone.

[Android.Runtime.Register("inDaylightTime", "(Ljava/util/Date;)Z", "GetInDaylightTime_Ljava_util_Date_Handler")]
public abstract bool InDaylightTime (Java.Util.Date? date);
[<Android.Runtime.Register("inDaylightTime", "(Ljava/util/Date;)Z", "GetInDaylightTime_Ljava_util_Date_Handler")>]
abstract member InDaylightTime : Java.Util.Date -> bool

Parameters

date
Date

the given Date.

Returns

true if the given date is in Daylight Saving Time, false, otherwise.

Attributes

Remarks

Queries if the given date is in Daylight Saving Time in this time zone.

Java documentation for java.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.

Applies to