[
https://issues.apache.org/jira/browse/PDFBOX-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022784#comment-15022784
]
ASF subversion and git services commented on PDFBOX-1621:
---------------------------------------------------------
Commit 1715924 from [~tilman] in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1715924 ]
PDFBOX-1621: improve javadoc and add Calendar-based method for
setModifiedDate(), as proposed by Gilad Denneboom and Maciej Wo?niak
> 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: Annotations, Calendar, 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: [email protected]
For additional commands, e-mail: [email protected]