public @NonNull Duration parseDuration() {
        if (this.startTime < 0) {
            throw new IllegalStateException("No start time has been registered");
        } else if (this.endTime < 0) {
            throw new IllegalStateException("No end time has been registered");
        }
        return Duration.ofNanos(this.endTime - this.startTime);
    }
Return the duration taken to parse the component.

@return the argument parse duration
cloud-core/src/main/java/org/incendo/cloud/context/ParsingContext.java