addDefinition(text) {
    const parsedDefs = this.parseTimeDefinitions(text);

    for (const def of parsedDefs) {
      this.addParsedDefinition(def);
    }
  }
/**
   * Parses a time definition and adds it to the current arg.
   * The validity od such addition should be checked separately.
   * @see TimeArg#isValidTimeDef
   * @param {string} text the text containing definitions
   */
Parses a time definition and adds it to the current arg.
The validity od such addition should be checked separately.
@see TimeArg#isValidTimeDef
@param {string} text the text containing definitions
Parses a time definition and adds it to the current arg . The validity od such addition should be checked separately . @see TimeArg#isValidTimeDef @param { string } text the text containing definitions
addDefinition(text) {
    const parsedDefs = this.parseTimeDefinitions(text);
    for (const def of parsedDefs) {
      this.addParsedDefinition(def);
    }
  }
addDefinition ( text ) { const parsedDefs = this . parseTimeDefinitions ( text ) ; for ( const def of parsedDefs ) { this . addParsedDefinition ( def ) ; } }
Parses a time definition and adds it to the current arg.
Parses a time definition and adds it to the current arg .