code: private String getDateString(Date value)
     {
        Calendar cal = DateHelper.popCalendar(value);
        int year = cal.get(Calendar.YEAR);
        int month = cal.get(Calendar.MONTH) + 1;
        int day = cal.get(Calendar.DAY_OF_MONTH);
        DateHelper.pushCalendar(cal);
        
        StringBuilder sb = new StringBuilder(8);
        sb.append(m_fourDigitFormat.format(year));
        sb.append(m_twoDigitFormat.format(month));
        sb.append(m_twoDigitFormat.format(day));
  
        return (sb.toString());
     }
docs: Convert a Java date into a Planner date.
  
  20070222
  
  @param value Java Date instance
  @return Planner date