Class 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 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 null
        sourceFiles - the list of source files, not empty, not null
        verbose - 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