apply method

void apply(
  1. int seconds
)

Implementation

void apply(int seconds) {
  hours = 0;
  minutes = 0;
  this.seconds = seconds;
  if (this.seconds < 0) this.seconds = 0;

  autofix();
}