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

Afficher le fichier Open project: TheAirlineProject/tap-desktop

Méthodes publiques

Méthode 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 méthode

public static AddHoliday ( HolidayYearEvent holiday ) : void
holiday HolidayYearEvent
Résultat void

Clear() public static méthode

public static Clear ( ) : void
Résultat void

GetHoliday() public static méthode

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

GetHolidays() public static méthode

public static GetHolidays ( ) : List
Résultat List

GetHolidays() public static méthode

public static GetHolidays ( Country country ) : List
country TheAirline.Models.General.Countries.Country
Résultat List

GetHolidays() public static méthode

public static GetHolidays ( System.DateTime date ) : List
date System.DateTime
Résultat List

GetHolidays() public static méthode

public static GetHolidays ( Predicate match ) : List
match Predicate
Résultat List

IsHoliday() public static méthode

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