Пример #1
0
        public void setPART_DEF_Date(HolidayDay day, HolidayWeek week, HolidayMonth month)
        {
            this.day = day; this.week = week; this.month = month;

            HolidayWidget2 H2 = new HolidayWidget2();

            H2.CheckIsHoliday(DateTime.Now);
        }
Пример #2
0
        private void loadMarket(string marketId, Holiday holiday)
        {
            HolidayWidget2 HW = null;

            if (!HolidayWidget3.MktHolidays.ContainsKey(marketId))
            {
                HW = new HolidayWidget2();
                HolidayWidget3.MktHolidays.Add(marketId, HW);
            }
            else
            {
                HW = HolidayWidget3.MktHolidays[marketId];
            }
            HW.InsertHoliday(holiday);
        }