Duration returns the duration value of an environment variable. The default
value is returned if the environment variable is not set or could not be
parsed as a valid duration.
Integer returns the integer value of an environment variable. The default
value is returned if the environment variable is not set or could not be
parsed as an integer.