code: private void validateTableOptionRetentionAge(TableDefinition tableDef, String optValue) {
          RetentionAge retAge = new RetentionAge(optValue); // throws if invalid format
          optValue = retAge.toString();
          tableDef.setOption(CommonDefs.OPT_RETENTION_AGE, optValue); // rewrite value
          Utils.require(tableDef.getOption(CommonDefs.OPT_AGING_FIELD) != null,
                        "Option 'retention-age' requires option 'aging-field'");
      }
docs: Validate the table option "retention-age".