code: function (date1, date2) {
                  return date1.getHours() === date2.getHours() &&
                      date1.getMinutes() === date2.getMinutes();
              }
docs: date1 and date2 must be Date objects with their date portions set to the sentinel date.