()
| 552 | } |
| 553 | |
| 554 | public calculateDuration(): number { |
| 555 | let duration: number = 0; |
| 556 | for (const voice of this.voices) { |
| 557 | const voiceDuration: number = voice.calculateDuration(); |
| 558 | if (voiceDuration > duration) { |
| 559 | duration = voiceDuration; |
| 560 | } |
| 561 | } |
| 562 | return duration; |
| 563 | } |
| 564 | } |
no outgoing calls