it.stefanochizzolini.clown.objects
Class PdfDate
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObject
it.stefanochizzolini.clown.objects.PdfDataObject
it.stefanochizzolini.clown.objects.PdfDirectObject
it.stefanochizzolini.clown.objects.PdfAtomicObject<byte[]>
it.stefanochizzolini.clown.objects.PdfString
it.stefanochizzolini.clown.objects.PdfDate
- All Implemented Interfaces:
- Cloneable, Comparable<PdfDirectObject>
public class PdfDate
- extends PdfString
PDF date object [PDF:1.6:3.8.3].
- Version:
- 0.0.6
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Method Summary |
Object |
clone(File context)
Gets the clone of the object, registered inside the given file context. |
Object |
getValue()
Gets the high-level representation of the value. |
void |
setValue(Object value)
Sets the high-level representation of the value. |
static Date |
toDate(String value)
Converts a PDF-formatted date value to a date value. |
formatter
protected static final SimpleDateFormat formatter
PdfDate
public PdfDate()
PdfDate
public PdfDate(Date value)
toDate
public static Date toDate(String value)
- Converts a PDF-formatted date value to a date value.
clone
public Object clone(File context)
- Description copied from class:
PdfObject
- Gets the clone of the object, registered inside the given file context.
- Overrides:
clone
in class PdfString
getValue
public Object getValue()
- Description copied from class:
PdfAtomicObject
- Gets the high-level representation of the value.
- Overrides:
getValue
in class PdfString
setValue
public void setValue(Object value)
- Description copied from class:
PdfAtomicObject
- Sets the high-level representation of the value.
- Overrides:
setValue
in class PdfString
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.