openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwsut...@apache.org
Subject svn commit: r574594 - /openjpa/branches/1.0.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
Date Tue, 11 Sep 2007 13:28:46 GMT
Author: kwsutter
Date: Tue Sep 11 06:28:45 2007
New Revision: 574594

URL: http://svn.apache.org/viewvc?rev=574594&view=rev
Log:
OPENJPA-361.  Committing Albert's patch for the incorrect GREG_OFFSET (Gregorian Offset) for
the 1.0.x branch.

Modified:
    openjpa/branches/1.0.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java

Modified: openjpa/branches/1.0.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.0.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java?rev=574594&r1=574593&r2=574594&view=diff
==============================================================================
--- openjpa/branches/1.0.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
(original)
+++ openjpa/branches/1.0.x/openjpa-lib/src/main/java/org/apache/openjpa/lib/util/UUIDGenerator.java
Tue Sep 11 06:28:45 2007
@@ -61,7 +61,7 @@
 
     // offset to move from 1/1/1970, which is 0-time for Java, to gregorian
     // 0-time 10/15/1582, and multiplier to go from 100nsec to msec units
-    private static final long GREG_OFFSET = 0x01b21dd213814000L;
+    private static final long GREG_OFFSET = 0xB1D069B5400L;
     private static final long MILLI_MULT = 10000L;
 
     // type of UUID -- time based



Mime
View raw message