public static boolean isNewer(Path src, Path dest) {
    try {
      return Files.notExists(dest) || getLastModifiedTime(src) > getLastModifiedTime(dest);
    } catch (IOException e) {
      return true;
    }
  }
Returns {@code true} if src is newer than dest, or if dest does not exist. Defaults to true if an error occurs.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/FileUtils.java