PDF Clown
0.0.8

it.stefanochizzolini.clown.objects
Class PdfDate

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObject
      extended by it.stefanochizzolini.clown.objects.PdfDataObject
          extended by it.stefanochizzolini.clown.objects.PdfDirectObject
              extended by it.stefanochizzolini.clown.objects.PdfAtomicObject<byte[]>
                  extended by it.stefanochizzolini.clown.objects.PdfString
                      extended by 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)

Nested Class Summary
 
Nested classes/interfaces inherited from class it.stefanochizzolini.clown.objects.PdfString
PdfString.SerializationModeEnum
 
Field Summary
protected static SimpleDateFormat formatter
           
 
Constructor Summary
PdfDate()
           
PdfDate(Date value)
           
 
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.
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfString
compareTo, getSerializationMode, setSerializationMode, writeTo
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfAtomicObject
clone, getRawValue, setRawValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

formatter

protected static final SimpleDateFormat formatter
Constructor Detail

PdfDate

public PdfDate()

PdfDate

public PdfDate(Date value)
Method Detail

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

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.