addYearsInRange Type documentation¶
TypeScript declaration¶
import { addYearsInRange } from '@siemens/element-ng/datepicker';Get date delta specifically for years based on the offset.
Returns: a new date object with the updated year.
addYearsInRange(current: Date, yearsOffset: number, minDate?: Date, maxDate?: Date): Date
Get date delta specifically for years based on the offset.
Returns: a new date object with the updated year.
Except where otherwise noted, content on this site is licensed under MIT License.