Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1621

Add setModifiedDate(Calendar c) to PDAnnotation

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            giladd Gilad Denneboom
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: