Author: spouliot
Date: 2005-12-08 20:26:08 -0500 (Thu, 08 Dec 2005)
New Revision: 54144
Modified:
trunk/mcs/class/corlib/System.Globalization/ChangeLog
trunk/mcs/class/corlib/System.Globalization/DaylightTime.cs
Log:
2005-12-08 Sebastien Pouliot <[EMAIL PROTECTED]>
* DaylightTime.cs: Fixed serialization to be compatible with MS FX.
Pre-requisite to fix bug #76094.
Modified: trunk/mcs/class/corlib/System.Globalization/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Globalization/ChangeLog 2005-12-09
01:21:13 UTC (rev 54143)
+++ trunk/mcs/class/corlib/System.Globalization/ChangeLog 2005-12-09
01:26:08 UTC (rev 54144)
@@ -1,3 +1,8 @@
+2005-12-08 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * DaylightTime.cs: Fixed serialization to be compatible with MS FX.
+ Pre-requisite to fix bug #76094.
+
2005-12-06 Sebastien Pouliot <[EMAIL PROTECTED]>
* DateTimeStyles.cs: ComVisible is only needed in 2.0.
Modified: trunk/mcs/class/corlib/System.Globalization/DaylightTime.cs
===================================================================
--- trunk/mcs/class/corlib/System.Globalization/DaylightTime.cs 2005-12-09
01:21:13 UTC (rev 54143)
+++ trunk/mcs/class/corlib/System.Globalization/DaylightTime.cs 2005-12-09
01:26:08 UTC (rev 54144)
@@ -5,11 +5,8 @@
// Chris Hynes ([EMAIL PROTECTED])
//
// (C) 2001 Chris Hynes
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
@@ -30,28 +27,26 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-using System.Globalization;
-
namespace System.Globalization
{
[Serializable]
public class DaylightTime
{
- DateTime start, end;
- TimeSpan delta;
+ DateTime m_start, m_end;
+ TimeSpan m_delta;
public DaylightTime(DateTime start, DateTime end, TimeSpan
delta)
{
- this.start = start;
- this.end = end;
- this.delta = delta;
+ m_start = start;
+ m_end = end;
+ m_delta = delta;
}
public DateTime Start
{
get
{
- return start;
+ return m_start;
}
}
@@ -59,7 +54,7 @@
{
get
{
- return end;
+ return m_end;
}
}
@@ -67,7 +62,7 @@
{
get
{
- return delta;
+ return m_delta;
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches