C# Class TheAirline.Models.General.Holidays.HolidayYear

Show file Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
AddHoliday ( HolidayYearEvent holiday ) : void
Clear ( ) : void
GetHoliday ( Country country, System.DateTime date ) : HolidayYearEvent
GetHolidays ( ) : List
GetHolidays ( Country country ) : List
GetHolidays ( System.DateTime date ) : List
GetHolidays ( Predicate match ) : List
IsHoliday ( Country country, System.DateTime date ) : bool

Method Details

AddHoliday() public static method

public static AddHoliday ( HolidayYearEvent holiday ) : void
holiday HolidayYearEvent
return void

Clear() public static method

public static Clear ( ) : void
return void

GetHoliday() public static method

public static GetHoliday ( Country country, System.DateTime date ) : HolidayYearEvent
country TheAirline.Models.General.Countries.Country
date System.DateTime
return HolidayYearEvent

GetHolidays() public static method

public static GetHolidays ( ) : List
return List

GetHolidays() public static method

public static GetHolidays ( Country country ) : List
country TheAirline.Models.General.Countries.Country
return List

GetHolidays() public static method

public static GetHolidays ( System.DateTime date ) : List
date System.DateTime
return List

GetHolidays() public static method

public static GetHolidays ( Predicate match ) : List
match Predicate
return List

IsHoliday() public static method

public static IsHoliday ( Country country, System.DateTime date ) : bool
country TheAirline.Models.General.Countries.Country
date System.DateTime
return bool