/**
   * getReportByNameDay(-,-) method takes employeeId, attendanceDate as a inputs and display the
   * working details of an employee on the specified date.
   */
  @RequestMapping(value = "/getReportByNameDay", method = RequestMethod.POST)
  public @ResponseBody String getReportByDay(
      @RequestParam("employeeId") String employeeId,
      @RequestParam("attendanceDate") String attendanceDate) {
    logger.info("inside ReportGenerationController getReportByDay()");

    return reportGenerationService.getReportByDay(
        employeeId, new Date(Long.valueOf(attendanceDate)));
  }