/** * Set the creation date. * * @param date The date the annotation was created. */ public final void setCreationDate(Calendar date) { annot.setDate(COSName.CREATION_DATE, date); }
/** * This will set the modification date of the document. * * @param date The new modification date for the document. */ public void setModificationDate( Calendar date ) { info.setDate( COSName.MOD_DATE, date ); }
/** * Set the sign date. * * @param cal the date to be used as sign date */ public void setSignDate(Calendar cal) { dictionary.setDate(COSName.M, cal); }
/** * This will set the creation date of the document. * * @param date The new creation date for the document. */ public void setCreationDate( Calendar date ) { info.setDate( COSName.CREATION_DATE, date ); }
/** * This will set the date and time the annotation was created. * * @param creationDate the date and time the annotation was created. */ public void setCreationDate(Calendar creationDate) { getCOSObject().setDate(COSName.CREATION_DATE, creationDate); }
/** * Set the value of a date entry in the dictionary. * * @param key The key to the date value. * @param date The date value. */ public void setDate(String key, Calendar date) { setDate(COSName.getPDFName(key), date); }
/** * This will set the date and time the annotation was modified. * * @param c the date and time the annotation was created. */ public void setModifiedDate(Calendar c) { getCOSObject().setDate(COSName.M, c); }
/** * Set the date object. * * @param embedded The embedded dictionary. * @param key The key to the date. * @param date The date to set. */ public void setEmbeddedDate(String embedded, COSName key, Calendar date) { COSDictionary dic = (COSDictionary) getDictionaryObject(embedded); if (dic == null && date != null) { dic = new COSDictionary(); setItem(embedded, dic); } if (dic != null) { dic.setDate(key, date); } }
/** * Set the creation date. * * @param date The date the annotation was created. */ public final void setCreationDate(Calendar date) { annot.setDate(COSName.CREATION_DATE, date); }
/** * Set the sign date. * * @param cal the date to be used as sign date */ public void setSignDate(Calendar cal) { dictionary.setDate(COSName.M, cal); }
/** * This will set the modification date of the document. * * @param date The new modification date for the document. */ public void setModificationDate( Calendar date ) { info.setDate( COSName.MOD_DATE, date ); }
/** * Set the sign date. * * @param cal the date to be used as sign date */ public void setSignDate(Calendar cal) { dictionary.setDate(COSName.M, cal); }
/** * This will set the creation date of the document. * * @param date The new creation date for the document. */ public void setCreationDate( Calendar date ) { info.setDate( COSName.CREATION_DATE, date ); }
/** * This will set the modification date of the document. * * @param date The new modification date for the document. */ public void setModificationDate( Calendar date ) { info.setDate( COSName.MOD_DATE, date ); }
/** * This will set the creation date of the document. * * @param date The new creation date for the document. */ public void setCreationDate( Calendar date ) { info.setDate( COSName.CREATION_DATE, date ); }
vri.setItem(COSName.CERT, correspondingCerts); vri.setDate(COSName.TU, Calendar.getInstance());
/** * Set the value of a date entry in the dictionary. * * @param key The key to the date value. * @param date The date value. */ public void setDate(String key, Calendar date) { setDate(COSName.getPDFName(key), date); }
/** * Set the value of a date entry in the dictionary. * * @param key The key to the date value. * @param date The date value. */ public void setDate(String key, Calendar date) { setDate(COSName.getPDFName(key), date); }
@Override public void add(String key, Calendar cal) throws IOException { wrapped.setDate(key, cal); wrapped.setNeedToBeUpdate(true); }
/** * This will set the date and time the annotation was modified. * * @param c the date and time the annotation was created. */ public void setModifiedDate(Calendar c) { getCOSObject().setDate(COSName.M, c); }