TimeZone.HasSameRules(TimeZone) Method
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.
Returns true if this zone has the same rule and offset as another zone.
[Android.Runtime.Register("hasSameRules", "(Landroid/icu/util/TimeZone;)Z", "GetHasSameRules_Landroid_icu_util_TimeZone_Handler", ApiSince=24)]
public virtual bool HasSameRules(Android.Icu.Util.TimeZone? other);
[<Android.Runtime.Register("hasSameRules", "(Landroid/icu/util/TimeZone;)Z", "GetHasSameRules_Landroid_icu_util_TimeZone_Handler", ApiSince=24)>]
abstract member HasSameRules : Android.Icu.Util.TimeZone -> bool
override this.HasSameRules : Android.Icu.Util.TimeZone -> bool
- other
- TimeZone
the TimeZone
object to be compared with
true if the other zone is not null and is the same as this one, with the possible exception of the ID
- Attributes
Returns true if this zone has the same rule and offset as another zone. That is, if this zone differs only in ID, if at all. Returns false if the other zone is null.
Java documentation for android.icu.util.TimeZone.hasSameRules(android.icu.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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |