code: private TimeUnit extractTimeUnit(String name, String defaultValue) {
          String value = getString(name, defaultValue);
          try {
              final String[] s = value.split(" ", 2);
              return TimeUnit.valueOf(s[1].trim().toUpperCase());
          } catch (Exception e) {
              throw new PippoRuntimeException("{} must have format '<n> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'", name);
          }
      }
docs: Extracts the TimeUnit from the name.
  
  @param name
  @param defaultValue
  @return the extracted TimeUnit