public DateTime[] GetLastYearsBankHolDates(OriginCountry countryOfOrigin = OriginCountry.EnglandAndWales)
        {
            BankHolidaysData bankHolData = GetBankHolData();

            DateTime[] bankHols = bankHolData.GetAllYearsBankHolDates(countryOfOrigin);

            return(bankHols.Where(x => x.Year == DateTime.Now.Year - 1).ToArray());
        }
        public BankHoliday[] GetThisYearsBankHols(OriginCountry countryOfOrigin = OriginCountry.EnglandAndWales)
        {
            BankHolidaysData bankHolData = GetBankHolData();

            BankHoliday[] bankHols = bankHolData.GetAllYearsBankHols(countryOfOrigin);

            return(bankHols.Where(x => x.Date.Year == DateTime.Now.Year).ToArray());
        }
        public DateTime[] GetSpecifiedYearsBankHolDates(int year, OriginCountry countryOfOrigin = OriginCountry.EnglandAndWales)
        {
            BankHolidaysData bankHolData = GetBankHolData();

            DateTime[] bankHols = bankHolData.GetAllYearsBankHolDates(countryOfOrigin);

            if (!bankHols.Any(x => x.Year == year))
            {
                throw new ArgumentOutOfRangeException();
            }

            return(bankHols.Where(x => x.Year == year).ToArray());
        }