code: public static Date getDateEnd(Date date){
          Calendar   ca   =   Calendar.getInstance();
          ca.setTime(date);
          ca.set(Calendar.HOUR, 23);
          ca.set(Calendar.MINUTE, 59);
          ca.set(Calendar.SECOND, 59);
          return  ca.getTime();
      }
docs: 获取日期最晚时间，如传入2014-12-26，返回2014-12-26 23:59:59
  @param date
  @return