Fixing a unit test (not mine!) that was doing assertEquals against new Date()