code: private static void outputFilesDat(File dstDir, Map<String, SortedMap<String, ZoneRules>> allBuiltZones,
              Set<String> allRegionIds, Set<ZoneRules> allRules, SortedMap<LocalDate, Byte> leapSeconds) {
          File tzdbFile = new File(dstDir, "TZDB.dat");
          tzdbFile.delete();
          try {
              FileOutputStream fos = null;
              try {
                  fos = new FileOutputStream(tzdbFile);
                  outputTzdbDat(fos, allBuiltZones, allRegionIds, allRules);
              } finally {
                  if (fos != null) {
                      fos.close();
                  }
              }
          } catch (Exception ex) {
              System.out.println("Failed: " + ex.toString());
              ex.printStackTrace();
              System.exit(1);
          }
      }
docs: Outputs the DAT files.