Checks if this instant is after other.
other
bool isAfter(XPathDateTime other) => compareTo(other) > 0;