def METHOD_NAME(option, opt, value):
    try:
        return str_to_duration(value, signed=False)
    except DatetimeValueError, e:
        raise OptionValueError('"%s %s" ... %s' % (opt, value, e.description))