public MyDate(byte day, byte month, int year) { Validate(day, month, year); _dateStruct = new MyDateStruct(day, month, year); }
/// <summary> /// Операция инкремента даты по дням /// </summary> /// <param name="days">Число дней</param> public void AddDays(int days) { var newDate = GetDateByDays(GetDaysCount() + days); _dateStruct = newDate; }