subtract method

void subtract(
  1. Time time
)

Implementation

void subtract(Time time) {
  int sec = getTotalSeconds();
  sec -= time.getTotalSeconds();

  apply(sec);
}