code: @Override
      public Calendar convertDateStringToCalendar(String dateStr) {
          Calendar calendar = null;
          if (dateStr != null) {
              calendar = Calendar.getInstance();
              calendar.set(Integer.parseInt(dateStr.substring(6, 10)), Integer.parseInt(dateStr.substring(0, 2)) - 1,
                      Integer.parseInt(dateStr.substring(3, 5)));
          }
          return calendar;
      }
docs: This method returns a {@link Calendar} whose date matches the date passed as {@link String}
  
  @param dateStr string in "MM/dd/yyyy" format for which the Calendar value has to be returned.
  @return Calendar calendar value corresponding to the date string.