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

Method _getRangeSize

packages/main/src/YearRangePicker.ts:166–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164 }
165
166 _getRangeSize() {
167 return this.hasSecondaryCalendarType ? 8 : 20;
168 }
169
170 _getYearRangeFormattedText(startDate: CalendarDate, endDate: CalendarDate, yearFormat: DateFormat): string {
171 return `${yearFormat.format(startDate.toLocalJSDate())} - ${yearFormat.format(endDate.toLocalJSDate())}`;

Callers 7

_getGridStartYearMethod · 0.95
_getYearRangesMethod · 0.95
_onHomeOrEndMethod · 0.95
_hasNextPageMethod · 0.95
_showPreviousPageMethod · 0.95
_showNextPageMethod · 0.95
_modifyTimestampByMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected