code: public final long[] evalDayStartEndFor(final Date pDateFor) {
      Calendar cal = Calendar.getInstance(new Locale("en", "US"));
      cal.setTime(pDateFor);
      cal.set(Calendar.HOUR_OF_DAY, 0);
      cal.set(Calendar.MINUTE, 0);
      cal.set(Calendar.SECOND, 0);
      cal.set(Calendar.MILLISECOND, 0);
      long[] result = new long[2];
      result[0] = cal.getTimeInMillis();
      cal.set(Calendar.HOUR_OF_DAY, 23);
      cal.set(Calendar.MINUTE, 59);
      cal.set(Calendar.SECOND, 59);
      cal.set(Calendar.MILLISECOND, 999);
      result[1] = cal.getTimeInMillis();
      return result;
    }
docs: <p>Evaluate start and end of day for given pDateFor.</p>
  @param pDateFor date for
  @return Start and end of day for pDateFor