isBetweenYears Type documentation¶ TypeScript declaration¶ isBetweenYears ¶ constant import { isBetweenYears } from '@siemens/element-ng/datepicker';Compare the current year is between start and end year. from < current < to isBetweenYears(current: Date, from?: Date, to?: Date): booleanCompare the current year is between start and end year. from < current < to Parameters current: Date¶ from?: Date¶ to?: Date¶ Except where otherwise noted, content on this site is licensed under MIT License.