(startDate, endDate)
| 56 | } |
| 57 | |
| 58 | isGreater(startDate, endDate) { |
| 59 | if (startDate.year > endDate.year) { |
| 60 | return true |
| 61 | } else if (startDate.year < endDate.year) { |
| 62 | return false |
| 63 | } else if (startDate.month > endDate.month) { |
| 64 | return true |
| 65 | } else if (startDate.month < endDate.month) { |
| 66 | return false |
| 67 | } |
| 68 | return true |
| 69 | } |
| 70 | |
| 71 | getDayDiff(startDate, endDate) { |
| 72 | if (this.isGreater(startDate, endDate) === null) { |
no outgoing calls
no test coverage detected