* In range selection, the currently focused or hovered year is considered the "second day". * @private
()
| 305 | * @private |
| 306 | */ |
| 307 | _updateSecondTimestamp() { |
| 308 | if (this.selectionMode === CalendarSelectionMode.Range && (this.selectedDates.length === 1 || this.selectedDates.length === 2)) { |
| 309 | this._secondTimestamp = this.timestamp; |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | /** |
| 314 | * Set the hovered day as the "_secondTimestamp". |
no outgoing calls
no test coverage detected