diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-01 09:10:44 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-01 09:10:44 +0000 |
commit | 4a1cddfcc1937570220d438482954f13a33d412e (patch) | |
tree | 75df5bf2c5d6b95761f2c80316ec8e258948c603 /trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/DateProfileProperty.java | |
parent | 2c398de4ce47e3725da3f544a5da7e1b62c0156a (diff) | |
download | pdf-over-4a1cddfcc1937570220d438482954f13a33d412e.tar.gz pdf-over-4a1cddfcc1937570220d438482954f13a33d412e.tar.bz2 pdf-over-4a1cddfcc1937570220d438482954f13a33d412e.zip |
Added Maven project for PDF-OVER 4.0 (Includes Spezification Diagramms)
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12243 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/DateProfileProperty.java')
-rw-r--r-- | trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/DateProfileProperty.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/DateProfileProperty.java b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/DateProfileProperty.java new file mode 100644 index 00000000..ac5df52a --- /dev/null +++ b/trunk/pdf-over/pdf-signer-interface/src/main/java/at/asit/pdfover/pdfsignator/profileproperties/DateProfileProperty.java @@ -0,0 +1,36 @@ +package at.asit.pdfover.pdfsignator.profileproperties; + +import java.util.Date; + +import at.asit.pdfover.pdfsignator.InvalidPropertyTypeException; +import at.asit.pdfover.pdfsignator.InvalidPropertyValueException; + +/** + * A Date Property + */ +public class DateProfileProperty extends ProfileProperty { + + /** + * Date value of property + */ + protected Date dvalue = null; + + /** + * Sets the date value of the Property + * @param value The date value + * @throws InvalidPropertyValueException + * @throws InvalidPropertyTypeException + */ + public void SetValue(Date value) throws InvalidPropertyValueException, InvalidPropertyTypeException { + this.SetTextValue(value.toString()); + this.dvalue = value; + } + + /** + * Gets the date value + * @return the date value of the property + */ + public Date GetValue() { + return this.dvalue; + } +} |