Converts the given hours, minutes, and seconds into total seconds.
int get toSeconds => hours * 3600 + minutes * 60 + seconds;