code: private static Properties convertDeprecatedProperties(Properties props) {
      if (props.containsKey(RETENTION_DATE_TIME_PATTERN_KEY)) {
        props.setProperty(org.apache.gobblin.data.management.version.finder.DateTimeDatasetVersionFinder.DATE_TIME_PATTERN_KEY, props.getProperty(RETENTION_DATE_TIME_PATTERN_KEY));
        props.remove(RETENTION_DATE_TIME_PATTERN_KEY);
      }
      if (props.containsKey(RETENTION_DATE_TIME_PATTERN_TIMEZONE_KEY)) {
        props.setProperty(org.apache.gobblin.data.management.version.finder.DateTimeDatasetVersionFinder.DATE_TIME_PATTERN_TIMEZONE_KEY, props.getProperty(RETENTION_DATE_TIME_PATTERN_TIMEZONE_KEY));
        props.remove(RETENTION_DATE_TIME_PATTERN_TIMEZONE_KEY);
      }
      return props;
    }
docs: This conversion is required because the deprecated keys {@value #RETENTION_DATE_TIME_PATTERN_KEY} and
  {@value #RETENTION_DATE_TIME_PATTERN_TIMEZONE_KEY} are not TypeSafe compatible.
  The key {@value #RETENTION_DATE_TIME_PATTERN_TIMEZONE_KEY} overwrites {@value #RETENTION_DATE_TIME_PATTERN_KEY}
  when converted from props to {@link Config}