(x: number)
| 63 | |
| 64 | it("does not return -0 when the given dates are the same", () => { |
| 65 | function isNegativeZero(x: number): boolean { |
| 66 | return x === 0 && 1 / x < 0; |
| 67 | } |
| 68 | |
| 69 | const result = differenceInCalendarDays( |
| 70 | new Date(2014, 8 /* Sep */, 5, 0, 0), |