Commit Graph
22 Commits
Author SHA1 Message Date
Marcos Henrich 88297792e7 TimeZoneInfo is now always present in corlib.
Prior to net_4_0 TimeZoneInfo is a private class.
2014-10-02 09:31:06 +01:00
Andreas Auerswald a4edd897b5 Add TimeZoneInfo Serialization
Add serialization for the TimeZoneInfo, TimeZoneInfo.AdjustmentRule and TimeZoneInfo.TransitionTime class. It is compatible with the serialization in .Net for cross serialization/deserialization from Mono to .Net and vice versa.

The code in this commit is released under the terms of the MIT/X11 license.
2013-07-08 10:39:51 +02:00
Rodrigo Kumpera 1b92a4148c Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs. 2013-02-11 18:42:18 -05:00
Rodrigo Kumpera 486ee8d8f4 Kill the MOONLIGHT define in System.Core. 2013-02-11 13:01:10 -05:00
Rodrigo Kumpera 4dc7925783 MOBILE now builds with 4.0 enabled but its version remains 2.0.5.0.
* Consts.cs.in: We must check for mobile before 4.0 to make sure
	we don't end up with a 4.0.0.0 mobile BCL.
2013-01-10 18:13:15 -05:00
Geoff Norton 16d4fd790b Further .NET 4.0 ification of the mobile profile 2011-01-25 20:10:54 -05:00
Marek Safar d84d7c7eb9 Remove no longer used BOOTSTRAP conditionals 2010-12-29 12:41:12 +00:00
Marek Safar bd05c6c836 Some .net 4.0 api compatibility fixes 2010-12-15 11:12:07 +00:00
Jb Evain 804b3d42d0 Enable the System.Core build for monodroid 2010-09-08 18:48:28 +02:00
Sebastien Pouliot 081bf46075 fix TimeZoneInfo for moonlight (moving from System.Core to mscorlib)
svn path=/trunk/mcs/; revision=154478
2010-03-30 19:23:59 +00:00
Jb Evain 7109be8d25 fix typos
svn path=/trunk/mcs/; revision=154467
2010-03-30 17:09:53 +00:00
Jb Evain bcd4f4e961 fix the build
svn path=/trunk/mcs/; revision=154462
2010-03-30 15:41:18 +00:00
Jb Evain 662043a1f1 2010-03-30 Jb Evain <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs
	* TimeZoneInfo.TransitionTime.cs:
		Add TypeForwarderFrom attributes.


svn path=/trunk/mcs/; revision=154461
2010-03-30 15:18:03 +00:00
Gonzalo Paniagua Javier af5df1d187 signature fixes
svn path=/trunk/mcs/; revision=150244
2010-01-26 21:12:48 +00:00
Jb Evain 56d21fac2c 2010-01-04 Jb Evain <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs:
	Do not include in both mscorlib and System.Core for a NET_2_1 profile.

svn path=/trunk/mcs/; revision=149020
2010-01-04 12:53:59 +00:00
Marek Safar 6d2dd00b2a More 4.0 bootstrap work
svn path=/trunk/mcs/; revision=141787
2009-09-11 20:08:44 +00:00
Sebastien Pouliot 838010f0cd 2009-07-16 Sebastien Pouliot <[email protected]>
* InvalidTimeZoneException.cs, TimeZoneInfo.AdjustmentRule.cs,
	TimeZoneInfo.cs, TimeZoneInfo.TransitionTime.cs: Bring back those
	inside NET_2_1 profile for Moonlight.


svn path=/trunk/mcs/; revision=138067
2009-07-16 17:30:34 +00:00
Marek Safar 00df7fd3e4 2009-06-10 Marek Safar <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs,
	Funcs.cs, InvalidTimeZoneException.cs, Actions.cs, TimeZoneInfo.cs,
	TimeZoneNotFoundException.cs: Updated to 4.0 changes.


svn path=/trunk/mcs/; revision=135851
2009-06-10 14:24:10 +00:00
Stephane Delcroix 76d1357965 2008-01-24 Stephane Delcroix <[email protected]>
* TimeZoneInfo.TransitionTime.cs: check for a whole number of
	milliseconds instead of a whole number of seconds.

svn path=/trunk/mcs/; revision=93788
2008-01-24 12:45:29 +00:00
Sebastien Pouliot 8d6e94e088 2008-01-21 Sebastien Pouliot <[email protected]>
* TimeZoneInfo.TransitionTime.cs: Avoid NRE on bad cast if null is
	provided to Equals(object). Found with Gendarme.


svn path=/trunk/mcs/; revision=93465
2008-01-22 00:47:34 +00:00
Stephane Delcroix 3edeeafdee 2008-01-08 Stephane Delcroix <[email protected]>
* TimeZoneInfo.TransitionTime.cs: fully qualify System.DayOfWeek in 
	casting operation.

svn path=/trunk/mcs/; revision=92448
2008-01-08 13:29:29 +00:00
Stephane Delcroix 3a941b58ef 2007-05-11 Stephane Delcroix <[email protected]>
* System/DateTimeOffset.cs:
	* System/InvalidTimeZoneException.cs:
	* System/TimeZoneInfo.AdjustmentRules.cs:
	* System/TimeZoneInfo.cs:
	* System/TimeZoneInfo.TransitionTime.cs
	* System/TimeZoneNotFoundException.cs: new TimeZoneInfo class

	* System.Core.dll.sources: Added the above files

	* Makefile: compile with -d:LIBC so TimeZoneInfo will look for libc
	defined timezones

svn path=/trunk/mcs/; revision=77257
2007-05-11 20:29:26 +00:00