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
getEndTime
andgetStartTime
methods 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 possibleInvalid Date
value in case of incorrect input