2007-01-25 Chris Toshok <toshok@ximian.com>
authorChris Toshok <toshok@novell.com>
Thu, 25 Jan 2007 19:44:15 +0000 (19:44 -0000)
committerChris Toshok <toshok@novell.com>
Thu, 25 Jan 2007 19:44:15 +0000 (19:44 -0000)
commit3fe56d68fb71effbeb6d7f8bf65a88106c8d9481
tree042ef38c0bc983f14aec1645284e4de8996aa538
parente7039e363223666c5da6bd4c0ecd17015d9f4157
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.

svn path=/trunk/mcs/; revision=71706
mcs/class/corlib/System.Globalization/Calendar.cs
mcs/class/corlib/System.Globalization/ChangeLog
mcs/class/corlib/System.Globalization/GregorianCalendar.cs
mcs/class/corlib/System.Globalization/HebrewCalendar.cs
mcs/class/corlib/System.Globalization/HijriCalendar.cs
mcs/class/corlib/System.Globalization/JulianCalendar.cs
mcs/class/corlib/System.Globalization/KoreanCalendar.cs
mcs/class/corlib/System.Globalization/PersianCalendar.cs
mcs/class/corlib/System.Globalization/ThaiBuddhistCalendar.cs