![]() The following list should shed some light on issue one might encounter during the use of this library: And TZDB tries to deal with them in specific ways. There are a large number of misconceptions when it comes to time zones in general. LTimeZone := TBundledTimeZone.GetTimeZone( 'Africa/Cairo ') Ī large number of methods are provided on the TBundledTimeZone class that allow date/time manipulation. This unit contains the whole pre-compiled TZ database and all the code required to interpret it.Īll the other files in the project are optional.Īfter you download the files to your local project, simply include the TZDB unit in the uses clause. Download it and simply add it to your uses clause. ![]() To use TZDB you only require one file: TZDB.pas. You will need Free Pascal compiler installed though. The shell script runs under MacOS, Linux or Windows WSL. If you are inclined to update the library manually use the shell script located in the repository: update-compile.sh. This project follows the IANA releases quite closely, usually with 1-2 weeks delay. Manually updating to latest TZDB from IANA The current version of TZDB is compiled with 2023c version of IANA TZDB and the latest Windows alias translation table (from CLDR project).ĪPI Documentation and Code Examples. The source code is compatible with Delphi XE+ and FreePascal 3+, though some components are only available for Delphi. ![]() TZDB is an offline, in-process compiled database for IANA's ( ) TZDB project. TZDB - IANA Time Zone Database for Delphi/FreePascal ![]()
0 Comments
Leave a Reply. |