]> source.dussan.org Git - nextcloud-server.git/commitdiff
give creation datetime setter and getter a more meaningful and less misleading name
authorArthur Schiwon <blizzz@owncloud.com>
Mon, 23 Nov 2015 16:29:44 +0000 (17:29 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 23 Nov 2015 16:32:22 +0000 (17:32 +0100)
lib/public/comments/icomment.php

index 34adf5983fa49f1212f48d467494c17626979d49..3bc15c800f05ac8269a7228fe64a437d25abedb7 100644 (file)
@@ -125,23 +125,23 @@ interface IComment {
        public function setActor($actorType, $actorId);
 
        /**
-        * returns the unix timestamp of the comment.
+        * returns the creation date of the comment.
         *
-        * If not explicitely set, it shall default to the time of initialization.
+        * If not explicitly set, it shall default to the time of initialization.
         *
         * @return \DateTime
         * @since 9.0.0
         */
-       public function getTimestamp();
+       public function getCreationDateTime();
 
        /**
-        * sets the timestamp of the comment and returns itself
+        * sets the creation date of the comment and returns itself
         *
         * @param \DateTime $timestamp
         * @return IComment
         * @since 9.0.0
         */
-       public function setTimestamp(\DateTime $timestamp);
+       public function setCreationDateTime(\DateTime $timestamp);
 
        /**
         * returns the timestamp of the most recent child