@qrvey/formula-lang
Version:
QFormula support for qrvey projects
8 lines (7 loc) • 303 B
TypeScript
/**
* Gets the max number of days allowed for a date
* @param month 0 index month of the year
* @param year year of a date
* @returns number with the max number allowed. -1 if month does not exist in array list
*/
export declare function getMonthMaxDayAllowed(month: number, year: number): number;