public TimeManager() { int hour = DateTime.Now.Hour; int minute = DateTime.Now.Minute; _alarmTime = new Time(hour, minute); _currentTime = new Time(hour, minute); _snoozeTime = _alarmTime; _snoozeTime.AddOneMinute(); }
public void Snooze() { _alarmTime.AddOneMinute(); CheckAlarmTriggered(); }