Beispiel #1
0
        public void TestFixtureSetUp()
        {
            TechnicalSettings.UseOnlineMode = false;
            nonWorkingDateManager           = new NonWorkingDateManagement(DataUtil.TESTDB);

            nonWorkingDateManager.DeleteAllPublicHolidays();

            nonWorkingDateManager.AddPublicHoliday(new DictionaryEntry(new DateTime(2006, 1, 1), "New Year Eve"));
            nonWorkingDateManager.AddPublicHoliday(new DictionaryEntry(new DateTime(2006, 3, 21), "Idi Navruz"));
            nonWorkingDateManager.AddPublicHoliday(new DictionaryEntry(new DateTime(2006, 11, 6), "Idi Ramazan"));

            ApplicationSettings data = ApplicationSettings.GetInstance("");

            data.DeleteAllParameters();
            data.AddParameter(OGeneralSettings.WEEKENDDAY1, 6);
            data.AddParameter(OGeneralSettings.WEEKENDDAY2, 0);
        }
Beispiel #2
0
 public void TestFixtureTearDown()
 {
     nonWorkingDateManager.DeleteAllPublicHolidays();
 }