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