private double RateOf(Transaction transaction)
 {
     int countingDays = month.DaysInMonth - transaction.Date.Day + 1;
     double rate = (double)countingDays / month.DaysInMonth;
     return transaction.Amount * rate;
 }
 public void AddTransaction(Transaction transaction)
 {
     this.transactions.Add(transaction);
 }