12
plumbus
8y

Can I please stop using Java?

java.lang.AssertionError: expected same:<Fri Mar 03 16:01:01 EST 2017> was not:<Fri Mar 03 16:01:01 EST 2017>
Expected :Fri Mar 03 16:01:01 EST 2017
Actual :Fri Mar 03 16:01:01 EST 2017

Comments
  • 0
    Omg dealing with timezones and time formats in Java is by far the biggest pain in the ass there is... 😥
  • 1
    Could very much be two identical dates simply stored in different objects. Hence the assert fail.
  • 0
    What did you asset?
Add Comment