]>
Commit | Line | Data |
---|---|---|
f3c0d7a5 | 1 | Copyright (C) 2016 and later: Unicode, Inc. and others. License & terms of use: http://www.unicode.org/copyright.html |
46f4442e A |
2 | Copyright (c) 2007, International Business Machines Corporation and others. All Rights Reserved. |
3 | ||
4 | tzone.pl : A perl script that test the timezone information between the system time and ICU time. | |
5 | ||
6 | ||
7 | Files: | |
8 | tzdate.c Source file that compares the ICU time and system time. | |
9 | Makefile.in Use to create the Makefile | |
10 | tzone.pl Perl script that calls the tzdate program with the correct TZ and arguments. | |
11 | ||
12 | To Build on Unixes | |
13 | 1. Build ICU. tzdate is not built automatically. | |
14 | Specify an ICU install directory when running configure, | |
15 | using the --prefix option. The steps to build ICU will look something | |
16 | like this: | |
17 | cd <icu directory>/source | |
18 | runConfigureICU <platform-name> --prefix <icu install directory> [other options] | |
19 | gmake all | |
20 | ||
21 | 2. Install ICU, | |
22 | gmake install | |
23 | ||
24 | To Run on Unixes | |
25 | cd <icu directory>/source/test/compat | |
26 | ||
27 | export LD_LIBRARY_PATH=<icu install directory>/lib:.:$LD_LIBRARY_PATH | |
28 | gmake | |
29 | ||
30 | tzone.pl | |
31 | -This will use the current date. | |
32 | -To use a different date, you must specify by: | |
33 | tzone.pl year month day | |
34 | -All three arguments are integer values | |
35 | ||
36 | ||
37 | Note: The name of the LD_LIBRARY_PATH variable is different on some systems. | |
38 | If in doubt, run the sample using "gmake check", and note the name of | |
39 | the variable that is used there. LD_LIBRARY_PATH is the correct name | |
40 | for Linux and Solaris. | |
41 |