incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r160457 - incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
Date Thu, 07 Apr 2005 20:27:34 GMT
Author: clombart
Date: Thu Apr  7 13:27:34 2005
New Revision: 160457

URL: http://svn.apache.org/viewcvs?view=rev&rev=160457
Log:
Use Timestamp for dates

Modified:
    incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java

Modified: incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java?view=diff&r1=160456&r2=160457
==============================================================================
--- incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
(original)
+++ incubator/graffito/trunk/api/src/java/org/apache/portals/graffito/model/CmsObject.java
Thu Apr  7 13:27:34 2005
@@ -16,7 +16,7 @@
 package org.apache.portals.graffito.model;
 
 import java.io.NotSerializableException;
-import java.util.Date;
+import java.sql.Timestamp;
 import java.util.Map;
 
 
@@ -78,28 +78,28 @@
      *
      * @return Date
      */
-    Date getLastModified();
+    Timestamp getLastModified();
 
     /**
      * Set the last modified date for this document
      * 
      * @param lastModified the new last modified date value
      */
-    void setLastModified(Date lastModified);
+    void setLastModified(Timestamp lastModified);
 
     /**
      * Get the document's creation date
      *
      * @return Date
      */
-    Date getCreationDate();
+    Timestamp getCreationDate();
 
     /**
      * Set the creation date for this document
      * 
      * @param creationDate The new creation date value
      */
-    void setCreationDate(Date creationDate);
+    void setCreationDate(Timestamp creationDate);
 
     /**
      * Get the document's description



Mime
View raw message