* @protected
()
| 649 | * @protected |
| 650 | */ |
| 651 | getLabelTimestamps() { |
| 652 | const timestamps = this._cache.labels || []; |
| 653 | let i, ilen; |
| 654 | |
| 655 | if (timestamps.length) { |
| 656 | return timestamps; |
| 657 | } |
| 658 | |
| 659 | const labels = this.getLabels(); |
| 660 | for (i = 0, ilen = labels.length; i < ilen; ++i) { |
| 661 | timestamps.push(parse(this, labels[i])); |
| 662 | } |
| 663 | |
| 664 | return (this._cache.labels = this._normalized ? timestamps : this.normalize(timestamps)); |
| 665 | } |
| 666 | |
| 667 | /** |
| 668 | * @param {number[]} values |
no test coverage detected