C# Class FromPushToPull.PushingBalancesCalculator

Inheritance: BalancesOfMonthCalculator
Show file Open project: NicoleRauch/RefactoringLegacyCode

Public Methods

Method Description
FillData ( IList balancesOfMonthList ) : void
PushingBalancesCalculator ( IList transactions ) : Common.System

Private Methods

Method Description
AreSameMonthAndYear ( System.DateTime date, System.DateTime dateOfTransaction ) : bool
CalculateProportionalBalance ( int dayOfLatestBalance, int balance, int day, int daysInMonth ) : double
CalculateValuesForMonth ( int precedingBalance, System.DateTime dateOfMonth, IList transactionsOfMonth ) : ValuesOfMonth
TransactionsOfMonth ( System.DateTime date ) : IList

Method Details

FillData() public method

public FillData ( IList balancesOfMonthList ) : void
balancesOfMonthList IList
return void

PushingBalancesCalculator() public method

public PushingBalancesCalculator ( IList transactions ) : Common.System
transactions IList
return Common.System