compareYear Type documentation¶
TypeScript declaration¶
Compares two years. Returns: 0 if the years are equal, a number less than 0 if the first year is earlier, a number greater than 0 if the first year is later. Compares two years. Returns: 0 if the years are equal, a number less than 0 if the first year is earlier, a number greater than 0 if the first year is later. import { compareYear } from '@siemens/element-ng/datepicker';compareYear(first: Date, second: Date): number
Except where otherwise noted, content on this site is licensed under MIT License.