isZero method

bool isZero()

Indicates whether the value of the TimeSpan is zero.

@return if the value of the TimeSpan is equal to zero. otherwise.

Implementation

bool isZero() {
  return this.equals(TimeSpan.ZERO);
}