if (pdate == null) return null;
  private String pdfDate(Date pdate)  {        GregorianCalendar date = new GregorianCalendar();    date.setTime(pdate);    int year = date.get(date.YEAR);    int month = date.get(date.MONTH)+1;    int day = date.get(date.DAY_OF_MONTH);    int hours = date.get(date.HOUR_OF_DAY);    int minutes = date.get(date.MINUTE);    int seconds = date.get(date.SECOND);        String yyyy;    String mm;    String dd;    String hh;    String mi;    String ss;        yyyy = "" + year;        if (month<10) mm = "0" + month;    else mm = "" + month;        if (day<10) dd = "0" + day;    else dd = "" + day;        if (hours<10) hh = "0" + hours;    else hh = "" + hours;        if (minutes<10) mi = "0" + minutes;    else mi = "" + minutes;        if (seconds<10) ss = "0" + seconds;    else ss = "" + seconds;        return "D:" + yyyy + mm + dd + hh + mi + ss;  }