KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > etymon > pj > object > PjDate


1 package com.etymon.pj.object;
2
3 import java.io.*;
4 import com.etymon.pj.exception.*;
5
6 /**
7    A representation of the PDF Date type.
8    @author Nassib Nassar
9 */

10 public class PjDate
11     extends PjString {
12
13     /**
14        Creates a Date object.
15        @param s the string value to initialize this object to.
16     */

17     public PjDate(String JavaDoc s) {
18         super(s);
19     }
20
21     // this should be added (or something like this).
22
// this would encode the date as a string.
23
/*
24     public PjDate(Date d) {
25     }
26     */

27
28     // this should be added, similar to isLike in other classes in this package.
29
/*
30     public static boolean isLike(PjString s) {
31     }
32     */

33     
34 }
35
Popular Tags