UNPKG

statement-parser-fab

Version:

Parse bank and credit card statements. Updated fork with FAB (First Abu Dhabi Bank) support and maintained dependencies.

15 lines (14 loc) 861 B
/** * Creates a date object that's between the two dates given. If a valid date cannot be created with * the given inputs, a date is created that is at least earlier than the given endDate. * * @param startDate Optional. The earlier (date wise) bounds for creating the new Date object. If * this is not provided, a date is created that is as close to, but earlier than, the given * endDate. * @param endDate Required. The later bounds for creating the new Date object. * @param monthNumber Month number for the new Date object. This is 1 indexed. So a `1` here * corresponds to January. * @param dayNumber Number for the month for the new Date object. This is 1 indexed; the first day * of the mont is `1`. */ export declare function dateWithinRange(startDate: Date | undefined, endDate: Date, monthNumber: number, dayNumber: Number): Date;