Closed GoogleCodeExporter closed 9 years ago
Hi, what do you mean "date" property? Can you provide a code sample?
Original comment by kostas.k...@googlemail.com
on 7 Dec 2012 at 8:22
public static void main(String[] args) {
Date original = new Date();
Cloner cloner = new Cloner();
cloner.setNullTransient(true);
Date clone = cloner.deepClone(original);
// I expect this to be true, but is is false.
System.out.println(original.getTime() == clone.getTime());
}
Original comment by erikhorl...@gmail.com
on 20 Jan 2013 at 9:31
Ok, I don't see anything wrong with that. It should be false since Date uses
this field:
private transient long fastTime;
Original comment by kostas.k...@googlemail.com
on 7 Mar 2013 at 10:20
ok,looks like it works correctly, closing the issue
Original comment by kostas.k...@googlemail.com
on 24 Mar 2013 at 10:44
Original issue reported on code.google.com by
boersmas...@gmail.com
on 9 Nov 2012 at 2:34