Beispiel #1
0
 public Time(int hour, int minute, Meridie meridie)
 {
     Hours           = hour;
     Minutes         = minute;
     Meridie         = meridie;
     HoursTwentyFour = Hours < 12 ? Hours : Hours + 12;
 }
Beispiel #2
0
 public static Time TwelveHour(int hour, int minute, Meridie meridie)
 {
     return(new Time(hour, minute, meridie));
 }