|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jempbox.impl.DateConverter
This class is used to convert dates to strings and back using the PDF date standards. Date are described in PDFReference1.4 section 3.8.2
| Method Summary | |
static java.util.Calendar |
toCalendar(java.lang.String date)
This will convert a string to a calendar. |
static java.lang.String |
toISO8601(java.util.Calendar cal)
Convert the date to iso 8601 string format. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.util.Calendar toCalendar(java.lang.String date)
throws java.io.IOException
date - The string representation of the calendar.
java.io.IOException - If the date string is not in the correct format.public static java.lang.String toISO8601(java.util.Calendar cal)
cal - The date to convert.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||