diff --git a/process/Date_lib/process.js b/process/Date_lib/process.js index 7173ddf8767235aa0032cbb9b20418ac7f66671d..17211f90c49d785958443411232f61c1cebf359c 100644 --- a/process/Date_lib/process.js +++ b/process/Date_lib/process.js @@ -15,12 +15,11 @@ function DateUtils() {} * @param pStart {Number} * @param pEnd {Number} * - * @result {Boolean|null} Boolean if it was able to check smth or null if the input values were not valid + * @result {Boolean} Boolean if it was able to check. True if one of them is null / "" because this should be checked by mandatory if needed. */ DateUtils.validateBeginnBeforeEnd = function(pStart, pEnd) { if (!pStart || !pEnd) - return null; - + return true; return pStart <= pEnd; }