isSameOrBetweenYears Type documentation¶
TypeScript declaration¶
import { isSameOrBetweenYears } from '@siemens/element-ng/datepicker';Compare the current year is the same year or between start and end year.
Returns: true if the date is in the provided range.
isSameOrBetweenYears(current: Date, from?: Date, to?: Date): boolean
Compare the current year is the same year or between start and end year.
Returns: true if the date is in the provided range.
Except where otherwise noted, content on this site is licensed under MIT License.