docs: private String fixDateForJdk(String format) {
          if (Constants.JRE_IS_MINIMUM_JAVA7) {
              return format;
          }
          // JDK 6 - fix year formatting
  
          // a. lower case Y to y
          if (format.contains("Y")) {
              format = format.replace("Y", "y");
          }
  
          // gotta love regex
          // use lookahead to match isolated y/yyy with yyyy
          format = format.replaceAll("((?<!y)(?:y|yyy)(?!y))", "yyyy");
  
          return format;
      }