public double getSeconds() {
        return value / 1000.0;
    }
Parses a string on the form:

[numbers]\s*[unit]?

Where numbers is a double, and unit is one of:
d - days
m - minutes
s - seconds
ms - milliseconds

Default is seconds.
config-model/src/main/java/com/yahoo/vespa/model/utils/Duration.java