Commit Graph
4 Commits
Author SHA1 Message Date
Atsushi Eno 90ccb040e6 2008-06-11 Atsushi Enomoto <[email protected]>
* DateTimeConverter.cs : use MM for month instead of mm.
	  Fixed bug #396649, patch by Andy Hume.

	* DateTimeConverterTest.cs : test for bug #396649 by Andy Hume.


svn path=/trunk/mcs/; revision=105573
2008-06-11 12:20:57 +00:00
Ivan Zlatev a00d95a1a7 2008-02-04 Ivan N. Zlatev <[email protected]>
* DateTimeConverter.cs: handle empty strings in ConvertFrom.
	 * DateTimeConverterTests.cs: Test ConvertFrom with empty string.


svn path=/trunk/mcs/; revision=94810
2008-02-04 23:03:36 +00:00
Raja R Harinath 2733998d50 * DateTimeConverterTests.cs (ConvertTo_MaxValue): Disable tests
that require CurrentCulture _not_ to be InvariantCulture.
(ConvertToString_MaxValue): Likewise.

svn path=/trunk/mcs/; revision=50998
2005-09-29 15:40:09 +00:00
Gert Driesen cdfb192c91 * DateTimeConverterTests.cs: Added tests for DateTimeConverter.
* DateTimeConverter.cs: ConvertTo must return zero-length string
for DateTime.MinValue. Use CultureInfo.GetFormat to obtain
DateTimeFormatInfo to match MS.NET.
* System_test.dll.sources: Added DateTimeConverterTests.cs.

svn path=/trunk/mcs/; revision=49013
2005-08-28 07:36:26 +00:00