MCPcopy Create free account
hub / github.com/UI5/webcomponents / _updateSecondTimestamp

Method _updateSecondTimestamp

packages/main/src/DayPicker.ts:821–825  ·  view source on GitHub ↗

* During range selection, when the user is navigating with the keyboard, * the currently focused day is considered the "second day". * @private

()

Source from the content-addressed store, hash-verified

819 * @private
820 */
821 _updateSecondTimestamp() {
822 if (this.selectionMode === CalendarSelectionMode.Range && (this.selectedDates.length === 1 || this.selectedDates.length === 2)) {
823 this._secondTimestamp = this.timestamp;
824 }
825 }
826
827 get _specialCalendarDates() {
828 return this.specialCalendarDates;

Callers 3

_selectDateMethod · 0.95
_modifyTimestampByMethod · 0.95
_setTimestampMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected