Current implementations of getEndTime and getStartTime methods returns
cfg[END_TIME] || new Date(MAX_DATE)
which should new wrapped into new Date() one more time to be sure in Date object processing.
Also, need to add validation for possible Invalid Date value in case of incorrect input
Current implementations of
getEndTimeandgetStartTimemethods returnscfg[END_TIME] || new Date(MAX_DATE)which should new wrapped into new Date() one more time to be sure in Date object processing.
Also, need to add validation for possible
Invalid Datevalue in case of incorrect input