[ https://issues.apache.org/jira/browse/PDFBOX-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-1621. ------------------------------------- Resolution: Fixed Assignee: Tilman Hausherr Fix Version/s: 2.0.0 1.8.11 > Add setModifiedDate(Calendar c) to PDAnnotation > ----------------------------------------------- > > Key: PDFBOX-1621 > URL: https://issues.apache.org/jira/browse/PDFBOX-1621 > Project: PDFBox > Issue Type: Improvement > Components: PDModel > Affects Versions: 1.8.2 > Reporter: Gilad Denneboom > Assignee: Tilman Hausherr > Priority: Minor > Labels: Calendar, PDAnnotation, documentation > Fix For: 1.8.11, 2.0.0 > > Attachments: > _PDFBOX_1621__Added_setModifiedDate_Calendar_c__method_and_improved_Javadoc_to_show_that_s.patch > > > Currently, the setModifiedDate method takes a String object as its input > parameter, but this string must be formatted in the PDF ISO Date format, > which is not documented and is confusing. > My proposal is to make it more consistent with the setCreationDate method and > change the input parameter to Calendar, and add a function that converts that > Calendar object into a properly formatted string. The method that takes a > String as input can be left for compatibility purposes, but the javadoc > should be adjusted to show what type of string should be used. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org