Gilad Denneboom created PDFBOX-1621:
---------------------------------------

             Summary: 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
            Priority: Minor


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to