Edit this page isAnotherYear Type documentation¶ TypeScript declaration¶ isAnotherYear ¶ constant import { isAnotherYear } from '@siemens/element-ng/datepicker'; Are the two dates in different years. isAnotherYear(current: Date, compareTo: Date): boolean Are the two dates in different years. Parameters current : Date ¶ compareTo : Date ¶ Except where otherwise noted, content on this site is licensed under MIT License.