2007-01-25 Chris Toshok <toshok@ximian.com>
commit3e5d4771f6052260e78a8a3d2ff268092bd28763
authortoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 25 Jan 2007 19:44:15 +0000 (25 19:44 +0000)
committertoshok <toshok@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Thu, 25 Jan 2007 19:44:15 +0000 (25 19:44 +0000)
treefd07a86b70157822449f1e36bc3a7bae2e2a63ab
parent5f2b995af66784161c7b8ef52cdc62d44e431e03
2007-01-25  Chris Toshok  <toshok@ximian.com>

* Calendar.cs, HijriCalendar.cs, ThaiBuddhistCalendar.cs,
HebrewCalendar.cs, GregorianCalendar.cs, KoreanCalendar.cs,
JulianCalendar.cs, PersianCalendar.cs:

more serialization fixes.  the M_TwoDigitYearMax field we use
appears to be called twoDigitYearMax in MS.NET.  rename it (and
fix all the Calendar subclasses to use this naming).  Likewise
with is_readonly (MS calls it m_isReadOnly).

Also, the m_currentEraValue field I had originally placed in
GregorianCalendar appears to be in Calendar (as running
nunit-2.2.8-2.0 shows.)

In GregorianCalendar, rename the M_CalendarType field to m_type
and remove the extra field I added.

The previous fix got nunit 2.4-2.0 running.  This change gets
versions 2.2.8 and 2.4 of nunit running against both 1.1 and 2.0
profiles.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@71706 e3ebcda4-bce8-0310-ba0a-eca2169e7518
class/corlib/System.Globalization/Calendar.cs
class/corlib/System.Globalization/ChangeLog
class/corlib/System.Globalization/GregorianCalendar.cs
class/corlib/System.Globalization/HebrewCalendar.cs
class/corlib/System.Globalization/HijriCalendar.cs
class/corlib/System.Globalization/JulianCalendar.cs
class/corlib/System.Globalization/KoreanCalendar.cs
class/corlib/System.Globalization/PersianCalendar.cs
class/corlib/System.Globalization/ThaiBuddhistCalendar.cs