private static IllegalArgumentException illegal(String message) {
        throw new IllegalArgumentException(message);
    }
Returns a string consisting of a number followed by "m", "h" or "d" to a duration given in that unit,
or zero duration if null or blank.
config-model-api/src/main/java/com/yahoo/config/application/api/xml/DeploymentSpecXmlReader.java