apply method
- int seconds
Implementation
void apply(int seconds) {
hours = 0;
minutes = 0;
this.seconds = seconds;
if (this.seconds < 0) this.seconds = 0;
autofix();
}
void apply(int seconds) {
hours = 0;
minutes = 0;
this.seconds = seconds;
if (this.seconds < 0) this.seconds = 0;
autofix();
}