public final class TZDBZoneRulesCompiler extends Object
TZDBZoneRulesCompiler is thread-safe.
| Constructor | Description |
|---|---|
TZDBZoneRulesCompiler(String version,
List<File> sourceFiles,
boolean verbose) |
Constructor used if you want to invoke the compiler manually.
|
| Modifier and Type | Method | Description |
|---|---|---|
SortedMap<String,ZoneRules> |
compile() |
Compile the rules file.
|
static void |
main(String[] args) |
Reads a set of TZDB files and builds a single combined data file.
|
public TZDBZoneRulesCompiler(String version, List<File> sourceFiles, boolean verbose)
version - the version, such as 2009a, not nullsourceFiles - the list of source files, not empty, not nullverbose - whether to output verbose messagespublic static void main(String[] args)
args - the argumentsCopyright © 2019. All rights reserved.