junit.framework.AssertionFailedError: expected:<2004-09-27T06:00:00.000-07:00> but was:<2004-09-27T06:00:00.000-07:00>
This equals/toString mismatch in and of itself is a confusing situation. But I'm also confused by the remedy -- when I change one of the DateTimes from the one-arg constructor to the two (passing America/Los_Angeles for the zone), that fixes it. But it already knew the time zone before (see the -07:00 in the output above)! Whaa?
And I'm even further confused as to why this only fails when I run the test from within my IDE, but never at the command-line. Some System property or environment variable or _something_ must be influencing it somehow??
thanks,
K
_______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
