incubator-isis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r1087835 - /incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/value/Date.java
Date Fri, 01 Apr 2011 18:13:43 GMT
Author: kevin
Date: Fri Apr  1 18:13:42 2011
New Revision: 1087835

URL: http://svn.apache.org/viewvc?rev=1087835&view=rev
Log:
Updated description on getMillisSinceEpoch()

Modified:
    incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/value/Date.java

Modified: incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/value/Date.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/value/Date.java?rev=1087835&r1=1087834&r2=1087835&view=diff
==============================================================================
--- incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/value/Date.java (original)
+++ incubator/isis/trunk/applib/src/main/java/org/apache/isis/applib/value/Date.java Fri Apr
 1 18:13:42 2011
@@ -130,7 +130,10 @@ public class Date extends Magnitude<Date
         cal.set(Calendar.YEAR, date.getYear());
         return cal.getTime();
     }
-    
+    /**
+     * 
+     * @return the milliseconds from 1970-01-01T00:00:00Z
+     */
     public long getMillisSinceEpoch(){
         return date.toDateTimeAtStartOfDay(DateTimeZone.UTC).getMillis();
     }



Mime
View raw message