First, you need to direct emails to the poi-users mailing list.  The answer
is yes, you need to be using one of the new versions.  We're currently at
2.0 pre 3.

Shawn
  -----Original Message-----
  From: Craig Ostovich [mailto:[EMAIL PROTECTED]
  Sent: Thursday, October 02, 2003 10:20 AM
  To: [EMAIL PROTECTED]
  Subject: Question on using HSSFDataFormat


  Hi my name is Craig Ostovich, I am new to JAVA and I have been
experimenting with HSSF.  Now that I have learned how to fill the
spreadsheet with data I am attempting to do some custom formatting of date,
time and timestamp fields.  However, it appears as though the methods for
HSSFDataFormat do not exist.

  Attempting to create a custom date format as follows: m/d/yyyy h:mm AM/PM

  Using jar file:  jakarta-poi-1.5.1-final-20020615.jar

  . . . received Java exception "java.lang.NoSuchMethodError: getFormat"
when calling method  "getFormat" with signature "()V" in class
"org.apache.poi.hssf.usermodel.HSSFDataFormat".

  Is there an updated jar file that I should be using?

  I would greatly appreciate any assistance and/or suggestions you could
offer!!


  Thanks much!!!!

Reply via email to