isAtSameInstantAs method

bool isAtSameInstantAs(
  1. Instant other
)

Returns true if this occurs at the same instant as other.

The comparison is independent of the time zone.

Implementation

bool isAtSameInstantAs(Instant other) => sinceEpoch == other.sinceEpoch;