Example #1
0
        public void Can_Get_Short_Month_From_Gregorian()
        {
            DateTime dateTime;


            dateTime = new DateTime(2016, 12, 1, gregorianCalendar);
            Assert.That(jewishCalendar.MonthIs29Days(dateTime, JewishCalendar.JewishMonth.KISLEV), Is.EqualTo(true));

            dateTime = new DateTime(2015, 12, 1, gregorianCalendar);
            Assert.That(jewishCalendar.MonthIs29Days(dateTime, JewishCalendar.JewishMonth.KISLEV), Is.EqualTo(false));
        }