public final class TZDBZoneRulesCompiler
extends java.lang.Object
TZDBZoneRulesCompiler is thread-safe.
| Constructor and Description |
|---|
TZDBZoneRulesCompiler(java.lang.String version,
java.util.List<java.io.File> sourceFiles,
boolean verbose)
Constructor used if you want to invoke the compiler manually.
|
public TZDBZoneRulesCompiler(java.lang.String version,
java.util.List<java.io.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(java.lang.String[] args)
args - the argumentspublic java.util.SortedMap<java.lang.String,ZoneRules> compile() throws java.lang.Exception
java.lang.Exception - if an error occurs