isAtSameMicrosecondAs method

bool isAtSameMicrosecondAs(
  1. DateTime other
)

Checks if this DateTime is in the same microsecond, millisecond, second, minute, hour, day, month, and year as other.

Implementation

bool isAtSameMicrosecondAs(DateTime other) =>
    isAtSameMillisecondAs(other) && microsecond == other.microsecond;