* TimeZoneInfo.cs: Move TimeType struct outside TimeZoneInfo since the
later is located in corlib (using TypeForwardedTo) in 4.0/SL4. This adds
an extra extern type to System.Core which is not liked by peverify
Fixes#657609.
Android uses "ye standard" timezone file format, but instead of using
a directory + file structure as libc uses, they throw everything into
two files, a "zoneinfo.dat" and a "zoneinfo.idx", where "zoneinfo.dat"
is the concatenation of all the TZIF files and "zoneinfo.idx" contains
the timezone names and offsets into "zoneinfo.dat". From the
ZoneInfoDB documentation:
However, to conserve disk space the data for all time zones
are concatenated into a single file, and a second file is
used to indicate the starting position of each time zone
record. A third file indicates the version of the zoneinfo
databse used to generate the data.
TimeZoneInfo.Android.cs is a C# port of the corresponding Android
ZoneInfoDB type so that Mono can use Android's timezone DB.
* TimeZoneInfo.cs: Applied patch from Vincent Povirk that adds
support for reading time zone information on windows.
This patch makes TimeZoneInfo.GetSystemTimeZones and
FindSystemTimeZoneById work based on the registry on non-Unix
platforms, if the appropriate registry key exists. Mono currently
reads from /usr/share/zoneinfo, which doesn't exist on Windows.
This should fix bug 606084.
It won't fix the Local property on Windows. I think that requires
a Windows API call to get the id of the local timezone.
This was modified from the previous version to not check the
registry on Unix platforms. (Sorry it took me so long to do
this. I have very little time to spend on Mono-related work.)
svn path=/trunk/mcs/; revision=159163
* Actions.cs: Forward Action() to mscorlib.dll and add the new
Action<...T16> delegates
* Funcs.cs: Add the new Func<...T16> delegates
* TimeZoneInfo.cs: Forward to mscorlib.dll
svn path=/trunk/mcs/; revision=155630
* 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