E
eschneider
Hello,
The minimum supported year acording to the HebrewCalendar is 5343
Then why do I get the following error when performing the following?:
new DateTime(5343,1,1,New HebrewCalendar)
System.ArgumentOutOfRangeException occurred
Message="Specified time is not supported in this calendar. It should be
between 01/01/1583 00:00:00 (Gregorian date) and 09/29/2239 23:59:59
(Gregorian date), inclusive. Parameter name: time"
ParamName="time"
Source="mscorlib"
StackTrace:
at System.Globalization.HebrewCalendar.CheckTicksRange(Int64 ticks)
at System.Globalization.HebrewCalendar.ToDateTime(Int32 year, Int32
month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond,
Int32 era)
at System.Globalization.Calendar.ToDateTime(Int32 year, Int32 month,
Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Calendar
calendar)
at SchneiderSoft.AbstractInterfaces.DateTimeCalendar.ToDateTime() in
E:\SchneiderSoftware\SchneiderSoft.UIControls\AbstractInterfaces\DateTimeCalendar.vb:line
132
InnerException:
The minimum supported year acording to the HebrewCalendar is 5343
Then why do I get the following error when performing the following?:
new DateTime(5343,1,1,New HebrewCalendar)
System.ArgumentOutOfRangeException occurred
Message="Specified time is not supported in this calendar. It should be
between 01/01/1583 00:00:00 (Gregorian date) and 09/29/2239 23:59:59
(Gregorian date), inclusive. Parameter name: time"
ParamName="time"
Source="mscorlib"
StackTrace:
at System.Globalization.HebrewCalendar.CheckTicksRange(Int64 ticks)
at System.Globalization.HebrewCalendar.ToDateTime(Int32 year, Int32
month, Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond,
Int32 era)
at System.Globalization.Calendar.ToDateTime(Int32 year, Int32 month,
Int32 day, Int32 hour, Int32 minute, Int32 second, Int32 millisecond)
at System.DateTime..ctor(Int32 year, Int32 month, Int32 day, Calendar
calendar)
at SchneiderSoft.AbstractInterfaces.DateTimeCalendar.ToDateTime() in
E:\SchneiderSoftware\SchneiderSoft.UIControls\AbstractInterfaces\DateTimeCalendar.vb:line
132
InnerException: