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