getTotalSeconds method
Implementation
int getTotalSeconds() {
int current = 0;
current += seconds;
current += (minutes * 60); // 60 seconds in a minute
current += (hours * 60 * 60); // 60 seconds, 60 minutes in an hour
return current;
}