Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Equals

Declaring type: TimeOffset
Module: System.Time
Assembly: System.Runtime.dll
Source file: TimeOffset.rvn

Overloads / Variants

Equals

func Equals(other: TimeOffset) -> bool

Source file: TimeOffset.rvn

Implements EquatableTo<TimeOffset>.Equals

Compares total offset seconds.

Parameters

Name Type Description
other TimeOffset Other fixed offset.

Return value

Boolean

True when total seconds agree.

Equals

virtual override func Equals(other: object?) -> bool

Source file: TimeOffset.rvn

Overrides Object.Equals

Compares the complete value with a boxed TimeOffset; null and other types are unequal.

Parameters

Name Type Description
other Object?

Return value

Boolean