(d1, d2)
| 88 | } |
| 89 | |
| 90 | export function isEqual (d1, d2) { |
| 91 | if (!d1 || !d2 || !(d1 instanceof Date) || !(d2 instanceof Date)) { |
| 92 | return false; |
| 93 | } |
| 94 | |
| 95 | return d1.getTime() === d2.getTime(); |
| 96 | } |
| 97 | |
| 98 | export function monthDiff (d1, d2) { |
| 99 | let m; |
nothing calls this directly
no test coverage detected
searching dependent graphs…