subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1577179 - /subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java
Date Thu, 13 Mar 2014 14:44:16 GMT
Author: brane
Date: Thu Mar 13 14:44:16 2014
New Revision: 1577179

URL: http://svn.apache.org/r1577179
Log:
Expose the microsecond timestamp in JavaHL's info class, to match the Status class.

* subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java
  (Info.getLastChangedDateMicros): New method.

Modified:
    subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java

Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java?rev=1577179&r1=1577178&r2=1577179&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java
(original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Info.java
Thu Mar 13 14:44:16 2014
@@ -286,6 +286,16 @@ public class Info implements java.io.Ser
     }
 
     /**
+     * Returns the last date the item was changed measured in the
+     * number of microseconds since 00:00:00 January 1, 1970 UTC.
+     * @return the last time the item was changed.
+     */
+    public long getLastChangedDateMicros()
+    {
+        return lastChangedDate;
+    }
+
+    /**
      * return the author of the last change
      */
     public String getLastChangedAuthor()



Mime
View raw message