UNPKG

@technobuddha/library

Version:
16 lines (15 loc) 455 B
declare type Options = { /** use the UTC timezone */ UTC?: boolean; }; /** * Determine if two dates occur in the same month * * @param input1 The first date * @param input2 The second date * @param __namedParameters see {@link Options} * @default UTC false * @returns true, if the two dates occur in the same month */ export declare function isSameMonth(input1: Date, input2: Date, { UTC }?: Options): boolean; export default isSameMonth;