next-biz-date
Advanced tools
Comparing version 1.0.6 to 1.1.0
@@ -58,2 +58,7 @@ (() => { | ||
return _scanForBizDate(mCandidateDate, holidaysArray, direction); | ||
} | ||
function _scanForBizDate(mCandidateDate, holidaysArray, direction){ | ||
let directionLogic = getDirectionLogic(direction, holidaysArray); | ||
@@ -77,4 +82,4 @@ | ||
} | ||
} | ||
} | ||
return mCandidateDate; | ||
@@ -81,0 +86,0 @@ } |
{ | ||
"name": "next-biz-date", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "Returns the next business date (future or past based on direction as FORWARD or BACKWARDS) for a given reference date (initialDate), offset value, direction and given array of holidays", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
13996
205