Package org.apache.jempbox.impl
Class DateConverter
java.lang.Object
org.apache.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
- Version:
- $Revision: 1.6 $
- Author:
- Ben Litchfield, Christopher Oezbek
-
Method Summary
-
Method Details
-
toCalendar
This will convert a string to a calendar.- Parameters:
date
- The string representation of the calendar.- Returns:
- The calendar that this string represents.
- Throws:
IOException
- If the date string is not in the correct format.
-
toISO8601
Convert the date to iso 8601 string format.- Parameters:
cal
- The date to convert.- Returns:
- The date represented as an ISO 8601 string.
-