equals method

bool equals(
  1. OffsetTime other
)

Compares two OffsetTime values for equality. This requires that the date values be the same and the offsets.

  • other: The value to compare this offset time with.

Returns: True if the given value is another offset time equal to this one; false otherwise.

Implementation

bool equals(OffsetTime other) => clockTime == other.clockTime && offset == other.offset;