new startOfDay and endOfDay methods to replace moment's (unit tests implemented as well)