static fromISO(text, opts) {
    const [parsed] = parseISODuration(text);
    if (parsed) {
      return Duration.fromObject(parsed, opts);
    } else {
      return Duration.invalid("unparsable", `the input "${text}" can't be parsed as ISO 8601`);
    }
  }
Create a Duration from an ISO 8601 duration string.
@param {string} text - text to parse
@param {Object} opts - options for parsing
@param {string} [opts.locale='en-US'] - the locale to use
@param {string} opts.numberingSystem - the numbering system to use
@param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
@param {string} [opts.matrix=Object] - the preset conversion system to use
@see https://en.wikipedia.org/wiki/ISO_8601#Durations
@example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }
@example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }
@example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }
@return {Duration}