8 Commits
Author SHA1 Message Date
Martin Baulig 22c6ed3f1c Add conditionals allowing some calenders to be disabled. (#13730)
Add `GlobalizationMode.Invariant` conditionals to some calendar code.

This allows the Japanese, Taiwan and Hebrew calendars to be disabled.
2019-04-10 13:44:11 +02:00
Marek Safar aa4ba602fc [corlib] DateTime from reference sources 2015-02-04 15:36:51 +01:00
Marek Safar 554ee2294d Fix DateTimeConverter test 2014-12-11 13:40:29 +01:00
Marek Safar 767b1570f2 [System] Use ComponentModel from reference sources 2014-12-09 14:30:40 +01:00
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