isAtSameMomentAs method

bool isAtSameMomentAs(
  1. XPathDateTime other
)

Checks if this instant is at the same moment as other.

Implementation

bool isAtSameMomentAs(XPathDateTime other) => compareTo(other) == 0;