/** * Compile the rules file. * <p> * Use {@link #getZones()} and {@link #getLeapSeconds()} to retrieve the parsed data. * * @throws Exception if an error occurs */ public void compile() throws Exception { printVerbose("Compiling TZDB version " + version); parseFiles(); parseLeapSecondsFile(); buildZoneRules(); printVerbose("Compiled TZDB version " + version); }
/** * Compile the rules file. * <p> * Use {@link #getZones()} and {@link #getLeapSeconds()} to retrieve the parsed data. * * @throws Exception if an error occurs */ public void compile() throws Exception { printVerbose("Compiling TZDB version " + version); parseFiles(); parseLeapSecondsFile(); buildZoneRules(); printVerbose("Compiled TZDB version " + version); }