Package javax.time.calendar.zone
Class TZDBZoneRulesCompiler
- java.lang.Object
-
- javax.time.calendar.zone.TZDBZoneRulesCompiler
-
public final class TZDBZoneRulesCompiler extends Object
A builder that can read the TZDB TimeZone files and build ZoneRules instances.TZDBZoneRulesCompiler is thread-safe.
- Author:
- Stephen Colebourne
-
-
Constructor Summary
Constructors Constructor Description TZDBZoneRulesCompiler(String version, List<File> sourceFiles, boolean verbose)
Constructor used if you want to invoke the compiler manually.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.
-
-
-
Constructor Detail
-
TZDBZoneRulesCompiler
public TZDBZoneRulesCompiler(String version, List<File> sourceFiles, boolean verbose)
Constructor used if you want to invoke the compiler manually.- Parameters:
version
- the version, such as 2009a, not nullsourceFiles
- the list of source files, not empty, not nullverbose
- whether to output verbose messages
-
-
Method Detail
-
main
public static void main(String[] args)
Reads a set of TZDB files and builds a single combined data file.- Parameters:
args
- the arguments
-
-