Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package base.uuid;
 
 public class TimeUUIDToDate {
 
 	static final long NUM_100NS_INTERVALS_SINCE_UUID_EPOCH = 0x01b21dd213814000L;
 
 	public static long getTimeFromUUID(java.util.UUID uuid) {
 		return (uuid.timestamp() - ) / 10000;
 	}
New to GrepCode? Check out our FAQ X