secondDifference method

int secondDifference(
  1. Time other
)

Returns the difference in whole seconds between this time and other.

Implementation

int secondDifference(Time other) => difference(other).inSeconds;