Skip to content
Edit this page

isBetweenYears Type documentation

TypeScript declaration

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): boolean

Compare the current year is between start and end year. from < current < to

Parameters


Except where otherwise noted, content on this site is licensed under MIT License.