public TimeModel(TimeModel tm, string id) { _id = id; if (tm != null) { InitTimeList(tm.ToString()); } else { Init0(); } }
public CalendarModel(int day, int month, int year, int hour, int min, int sec, int index = 1) : base(day, month, year, index) { _tm = new TimeModel(_calendarID, hour, min, sec); }
public CalendarModel(int index = 1) : base(index) { _tm = new TimeModel(_calendarID, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second); }