diffSec method

int diffSec(
  1. DateTime d
)

Implementation

int diffSec(DateTime d) {
  return d.duration(this).inSeconds;
}