title: java.util.Date's behavior
body: <pre><code>Foo a;
  ...
  Date b = a.getDate();
  Date c = new Date(b.getTime());
  
  if (b.equals(c)) System.out.println("equal");
  else System.out.println("not equal");
  
  System.out.println(b.toString());
  System.out.println(b.getTime());
  System.out.println(c.toString());
  System.out.println(c.getTime());
  </code></pre>
  
  <p>The above prints:</p>
  
  <pre><code>not equal
  2011-07-23 22:24:21.834
  1311459861834
  Sat Jul 23 22:24:21
  1311459861834
  </code></pre>
  
  <p>Why is this? Is this a bug in Date? Thats hard to believe.</p>