scuffed-code/icu4c/source/tools/tzcode
2019-02-21 13:27:37 -05:00
..
asctime.c ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00
ialloc.c ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00
icuregions ICU-12816 tzdata2017a to ICU4C/ICU4J. Override region for Pacific/Johnston, so region mapping stayed same with previous versions. Fixed a tzcode build problem. 2017-03-02 07:39:17 +00:00
icuzdump.cpp ICU-13552 tzdata2018b updates to ICU trunk. Also fixed a few issues in the test code and script. tz2icu was also updated to support customized Links for ICU overide zones. 2018-01-24 01:37:07 +00:00
icuzdump.vcxproj ICU-13169 Issues retargeting VS project files due to missing WindowsTargetPlatformVersion elements. (tab to spaces) 2017-05-03 00:40:08 +00:00
icuzdump.vcxproj.filters ICU-11609 add svn:eol-style property to vcxproj files. 2015-04-17 21:25:48 +00:00
icuzones ICU-20398 Updated tzdata build script to use the rearguard data. Deleted local override that used to simulate rearguard version from icuzones. 2019-02-21 13:27:37 -05:00
localtime.c ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00
Makefile.in ICU-20398 Updated tzdata build script to use the rearguard data. Deleted local override that used to simulate rearguard version from icuzones. 2019-02-21 13:27:37 -05:00
private.h ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00
readme.txt ICU-12564 Update copyright notice in trunk 2016-06-15 18:58:17 +00:00
scheck.c ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00
tz2icu.cpp ICU-13552 tzdata2018b updates to ICU trunk. Also fixed a few issues in the test code and script. tz2icu was also updated to support customized Links for ICU overide zones. 2018-01-24 01:37:07 +00:00
tz2icu.h ICU-12764 icu4c utf-8 source files, update Copyright notices. 2017-01-20 00:20:31 +00:00
tzfile.h ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00
tzselect.ksh ICU-4716 initial checkin of zic utilities 2006-08-03 23:40:18 +00:00
zdump.c ICU-13141 tzdata2017c updates. Some patches in Makefile to support the latest Makefile in tzcode2017c. Added logKnownIssue in some test cases. See the ticket for the details. 2017-10-25 15:43:29 +00:00
zic.c ICU-10827 Updated ICU modified version of tzcode to 2014b level. 2014-05-02 23:24:38 +00:00

* Copyright (C) 2016 and later: Unicode, Inc. and others.
* License & terms of use: http://www.unicode.org/copyright.html
**********************************************************************
* Copyright (c) 2003-2014, International Business Machines
* Corporation and others.  All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* Created: August 18 2003
* Since: ICU 2.8
**********************************************************************

Note:  this directory currently contains tzcode as of tzcode2014b.tar.gz
   with localtime.c  patches from tzcode2014b.tar.gz


----------------------------------------------------------------------
OVERVIEW

This file describes the tools in icu/source/tools/tzcode

The purpose of these tools is to process the zoneinfo or "Olson" time
zone database into a form usable by ICU4C (release 2.8 and later).
Unlike earlier releases, ICU4C 2.8 supports historical time zone
behavior, as well as the full set of Olson compatibility IDs.

References:

ICU4C:  http://www.icu-project.org/
Olson:  ftp://ftp.iana.org/tz/releases/

----------------------------------------------------------------------
ICU4C vs. ICU4J

For ICU releases >= 2.8, both ICU4C and ICU4J implement full
historical time zones, based on Olson data.  The implementations in C
and Java are somewhat different.  The C implementation is a
self-contained implementation, whereas ICU4J uses the underlying JDK
1.3 or 1.4 time zone implementation.

Older versions of ICU (C and Java <= 2.6) implement a "present day
snapshot".  This only reflects current time zone behavior, without
historical variation.  Furthermore, it lacks the full set of Olson
compatibility IDs.

----------------------------------------------------------------------
BACKGROUND

The zoneinfo or "Olson" time zone package is used by various systems
to describe the behavior of time zones.  The package consists of
several parts.  E.g.:

  Index of ftp://ftp.iana.org/tz/releases/

  tzcode2014b.tar.gz      172 KB       3/25/2014     05:11:00 AM
  tzdata2014b.tar.gz      216 KB       3/25/2014     05:11:00 AM

ICU only uses the tzdataYYYYV.tar.gz files,
where YYYY is the year and V is the version letter ('a'...'z').

This directory has partial contents of tzcode checked into ICU

----------------------------------------------------------------------
HOWTO

0. Note, these instructions will only work on POSIX type systems.

1. Obtain the current versions of tzdataYYYYV.tar.gz (aka `tzdata') from
   the FTP site given above.  Either manually download or use wget:

   $ cd {path_to}/icu/source/tools/tzcode
   $ wget "ftp://ftp.iana.org/tz/releases/tzdata*.tar.gz"

2. Copy only one tzdata*.tar.gz file into the icu/source/tools/tzcode/
   directory (this directory).

   *** Make sure you only have ONE FILE named tzdata*.tar.gz in the
       directory.

3. Build ICU normally. You will see a notice "updating zoneinfo.txt..."

### Following instructions for ICU maintainers only ###

4. Obtain the current version of tzcodeYYYY.tar.gz from the FTP site to
   this directory.

5. Run make target "check-dump".  This target extract makes the original
   tzcode and compile the original tzdata with icu supplemental data
   (icuzones).  Then it makes zdump / icuzdump and dump all time
   transitions for all ICU timezone to files under zdumpout / icuzdumpout
   directory.  When they produce different results, the target returns
   the error.

6. Don't forget to check in the new zoneinfo64.txt (from its location at
   {path_to}/icu/source/data/misc/zoneinfo64.txt) into SVN.