Exemple #1
0
 /// new Clock set to midnight
 public Clock()
 {
     hours   = new RolloverCounter(24);
     minutes = new RolloverCounter(60);
 }
Exemple #2
0
 ///  new Clock set to specified time
 public Clock(int nHours, int nMinutes)
 {
     hours   = new RolloverCounter(24);
     minutes = new RolloverCounter(60);
     SetTime(nHours, nMinutes);
 }