addDaysInRange Type documentation¶
TypeScript declaration¶
Calculate a new date based on the offset while considering the min and max date. Returns: new date if the range is valid or original date Calculate a new date based on the offset while considering the min and max date. Returns: new date if the range is valid or original date import { addDaysInRange } from '@siemens/element-ng/datepicker';addDaysInRange(current: Date, daysOffset: number, minDate?: Date, maxDate?: Date): Date
Except where otherwise noted, content on this site is licensed under MIT License.