TimeZone.HasSameRules(TimeZone) Method

Definition

Returns true if this zone has the same rule and offset as another zone.

[Android.Runtime.Register("hasSameRules", "(Ljava/util/TimeZone;)Z", "GetHasSameRules_Ljava_util_TimeZone_Handler")]
public virtual bool HasSameRules (Java.Util.TimeZone? other);
[<Android.Runtime.Register("hasSameRules", "(Ljava/util/TimeZone;)Z", "GetHasSameRules_Ljava_util_TimeZone_Handler")>]
abstract member HasSameRules : Java.Util.TimeZone -> bool
override this.HasSameRules : Java.Util.TimeZone -> bool

Parameters

other
TimeZone

the <code>TimeZone</code> object to be compared with

Returns

Boolean

true if the other zone is not null and is the same as this one, with the possible exception of the ID

Attributes

Remarks

Java documentation for java.util.TimeZone.hasSameRules(java.util.TimeZone).

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