* CultureInfo.cs NumberFormatInfo.cs DateTimeFormatInfo.cs TextInfo.cs: Make
sure the components of a read-only culture object are read-only as well.
svn path=/trunk/mcs/; revision=92326
* DateTimeFormatInfo.cs: minimal implementation of
AbbreviatedMonthGenitiveNames, MonthGenitiveNames and
NativeCalendar name properties.
svn path=/trunk/mcs/; revision=85423
2007-05-31 Rolf Bjarne Kvinge <[email protected]>
* corlib_test.dll.sources : added DateTimeFormatInfoTest.cs.
In Test/System.Globalization:
2007-05-31 Rolf Bjarne Kvinge <[email protected]>
* DateTimeFormatInfo.cs: Added EraName.
In System.Globalization:
2007-05-31 Rolf Bjarne Kvinge <[email protected]>
* GregorianCalendar.cs: Change era names from C.E./Common Era
to AD/A.D.
* DateTimeFormatInfo.cs: GetEra: search the abbreviated era names
as well for the era, and return the era, not the index of the era
in the array.
svn path=/trunk/mcs/; revision=78435
* Calendar.cs DateTimeFormatInfo.cs : 2.0 API fixes.
* CalendricalCalculations.cs : fixed AddMonth() and AddYears() to
consider that the max days in the target month (for AddYears()
leap year month could matter). Fixed bug #81783.
* CalendarTest.cs : test for bug #81783 and AddYears() for leap year
(similar issue).
svn path=/trunk/mcs/; revision=78429
* DateTime.cs : added support for 'K'.
* DateTimeFormatInfo.cs : added roundtrip pattern (only in 2.0).
* DateTimeTest.cs : test for 'o' and 'K'.
svn path=/trunk/mcs/; revision=77579
[ these fix nunit built with MS .net 2.0, running on mono. nunit
apparently stores all manner of things in its resources ]
* NumberFormatInfo.cs: add unused nativeDigits and
digitSubstitution fields that MS serializes.
* DateTimeFormatInfo.cs: serialization fixes. MS apparently
stores (and serializes) a couple of fields as ints, but exposes
them to programmers as Enum's.
* CompareInfo.cs: add unused m_name field that MS serializes.
* GregorianCalendar.cs: add a couple of unused fields that MS serializes.
svn path=/trunk/mcs/; revision=71620
* DateTimeFormatInfo.cs: Add support for shortest day names.
Notice that there is no support in the runtime to actually load
this information from any place. So they are all english values.
svn path=/trunk/mcs/; revision=70945
* DateTime.cs :
use new internal clone-less DateTimeFormatInfo members.
* DateTimeFormatInfo.cs : added some internal clone-less versions of
string[] properties and methods.
svn path=/trunk/mcs/; revision=68812
* DirectoryInfo.cs (GetFiles): Implement option with SearchOptions
== AllDirectories
And a lot of MonoTODOs updated as well
svn path=/trunk/mcs/; revision=67998
* Environment.cs: Bumped corlib version to 48 (due to r57532)
2006-03-07 Peter Dennis Bartok <[email protected]>
* DateTimeFormatInfo.cs: Restored original field order to allow
some automatic locale fu to happen (mono unmanaged code relies
on the field order to fill out DateTimeFormatInfo)
svn path=/trunk/mcs/; revision=57679
* DateTimeFormatInfo.cs: Switched (where possible) our internal
field names to match MS names. Added fields that MS has and we
don't. Fixes serialization issues with MS.
* CultureInfo.cs, Calendar.cs, TextInfo.cs,
GregorianCalenda.cs: Hiding internal attributes from serialization
svn path=/trunk/mcs/; revision=57532
2005-10-14 Ben Maurer <[email protected]>
* DateTime.cs: Speed up when parsing date time objects by not
duplicating cultureinfo arrays.
In Test/System.Globalization:
2005-10-14 Ben Maurer <[email protected]>
* DateTimeFormatInfoTest.cs: New test to make sure we do not
return the same array from GetAllDateTimePatterns.
In System.Globalization:
2005-10-14 Ben Maurer <[email protected]>
* DateTimeFormatInfo.cs: Speed up GetAllDateTimePatterns by
caching the result and then cloning it.
svn path=/trunk/mcs/; revision=51696
* DateTimeFormatInfo.cs: Rather than having a + ' ' + b, have a +
" " + b. This lets us avoid 1) boxing the char and 2) calling
char.ToString. Results in a fairly substantial savings on
DateTime.Parse.
svn path=/trunk/mcs/; revision=51532
* GregorianCalendar.cs:: added TODO for serialization
* HebrewCalendar.cs: added TODO for serialization
* HijriCalendar.cs: added TODO for serialization
* JapaneseCalendar.cs: added TODO for serialization
* JulianCalendar.cs: added TODO for serialization
* KoreanCalendar.cs: added TODO for serialization
* TaiwanCalendar.cs: added TODO for serialization
* ThaiBuddhistCalendar.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29624
* DateTimeFormatInfo.cs : Added some string[] fields for
GetAllDateTimePatterns(char). The fields will be filled in metadata
and culture info table. Added improved patterns for
GetAllDateTimePatterns() (right now works only for invariant).
* CultureInfo.cs : Use InvariantInfo for InvariantCulture.
svn path=/trunk/mcs/; revision=28282
* CultureInfo.cs: Implemented, with internal calls to ICU apart
from the Invariant culture.
* SortKey.cs:
* CompareInfo.cs: Implemented
* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
construct default FullDateTimePattern on the fly.
svn path=/trunk/mcs/; revision=18820
be public.
* StreamReader.cs (Initialize): This method is not exposed in the
API, mark as internal.
* SignatureHelper.cs: This class does not have the
SerializableAttribute.
* WaitHandle.cs (CheckDisposed): This method is not in the public
API, mark it as 'internal'.
* Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
as values for NET_1_1.
(GetFolderPath): Return the empty string ("") for values of
SpecialFolder that have no corresponding equivalents in
Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
and "$HOME" for SpecialFolder.Personal.
* IntPtr.cs (GetObjectData): Mark it as an interface
implementation, instead of a public method.
* Guid.cs (NewGuid): Remove MonoTODOAttribute.
* TypeLoadException.cs (GetObjectData):
Create stubs for the fields that are being serialized.
* UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
svn path=/trunk/mcs/; revision=16594