C# Class TheAirline.Helpers.BudgetHelpers

Show file Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
GetAvgFleetValue ( ) : double
GetAvgSubValue ( Airline airline ) : long
GetEndYearCash ( long budget, long money ) : long
GetFleetValue ( ) : long
GetOneYearBudget ( System.DateTime date, int n ) : AirlineBudget
GetRemainingBudget ( ) : long
GetTestBudget ( Airline airline ) : AirlineBudget>.IDictionary
GetTotalSubValues ( Airline airline ) : long
SetDefaults ( Airline humanAirline ) : long
VerifyValues ( AirlineBudget budget ) : void

Method Details

GetAvgFleetValue() public static method

public static GetAvgFleetValue ( ) : double
return double

GetAvgSubValue() public static method

public static GetAvgSubValue ( Airline airline ) : long
airline TheAirline.Models.Airlines.Airline
return long

GetEndYearCash() public static method

public static GetEndYearCash ( long budget, long money ) : long
budget long
money long
return long

GetFleetValue() public static method

public static GetFleetValue ( ) : long
return long

GetOneYearBudget() public static method

public static GetOneYearBudget ( System.DateTime date, int n ) : AirlineBudget
date System.DateTime
n int
return TheAirline.Models.Airlines.AirlineBudget

GetRemainingBudget() public static method

public static GetRemainingBudget ( ) : long
return long

GetTestBudget() public static method

public static GetTestBudget ( Airline airline ) : AirlineBudget>.IDictionary
airline TheAirline.Models.Airlines.Airline
return AirlineBudget>.IDictionary

GetTotalSubValues() public static method

public static GetTotalSubValues ( Airline airline ) : long
airline TheAirline.Models.Airlines.Airline
return long

SetDefaults() public static method

public static SetDefaults ( Airline humanAirline ) : long
humanAirline TheAirline.Models.Airlines.Airline
return long

VerifyValues() public static method

public static VerifyValues ( AirlineBudget budget ) : void
budget TheAirline.Models.Airlines.AirlineBudget
return void