| java.lang.Object org.joda.time.tz.ZoneInfoCompiler
ZoneInfoCompiler | public class ZoneInfoCompiler (Code) | | Compiles Olson ZoneInfo database files into binary files for each time zone
in the database.
DateTimeZoneBuilder is used to construct and encode
compiled data files.
ZoneInfoProvider loads the encoded files and
converts them back into
DateTimeZone objects.
Although this tool is similar to zic, the binary formats are not
compatible. The latest Olson database files may be obtained
here.
ZoneInfoCompiler is mutable and not thread-safe, although the main method
may be safely invoked by multiple threads.
author: Brian S O'Neill since: 1.0 |
cStartOfYear | static DateTimeOfYear cStartOfYear(Code) | | |
ZoneInfoCompiler | public ZoneInfoCompiler()(Code) | | |
compile | public Map compile(File outputDir, File[] sources) throws IOException(Code) | | Returns a map of ids to DateTimeZones.
Parameters: outputDir - optional directory to write compiled data files to Parameters: sources - optional list of source files to parse |
getStartOfYear | static DateTimeOfYear getStartOfYear()(Code) | | |
main | public static void main(String[] args) throws Exception(Code) | | Launches the ZoneInfoCompiler tool.
Usage: java org.joda.time.tz.ZoneInfoCompiler <options> <source files>
where possible options include:
-src <directory> Specify where to read source files
-dst <directory> Specify where to write generated files
|
parseZoneChar | static char parseZoneChar(char c)(Code) | | |
|
|