diff options
author | Jonathan Pryor <jonpryor@vt.edu> | 2010-12-16 21:10:44 +0300 |
---|---|---|
committer | Jonathan Pryor <jonpryor@vt.edu> | 2010-12-16 21:17:38 +0300 |
commit | 8a263984e95113e8cb753e8f8b05b2342cb8e2d1 (patch) | |
tree | 90ed0e1feef5eb2a57340905d25aff47abca8098 /LICENSE | |
parent | 8c686c3e13a48988b298569586f60e33d170d93b (diff) |
[monodroid] Add support for the Android TimeZone file format.
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.
Diffstat (limited to 'LICENSE')
-rw-r--r-- | LICENSE | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -98,6 +98,13 @@ For comments, corrections and updates, please contact mono@novell.com ICSharpCode.SharpZipLib, GPL with exceptions. See: mcs/class/ICSharpCode.SharpZipLib/README +** mcs/class/System.Core/System/TimeZoneInfo.Android.cs + + This is a port of Apache 2.0-licensed Android code, and thus is + licensed under the Apache 2.0 license: + + http://www.apache.org/licenses/LICENSE-2.0 + ** mcs/tools |