You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.AssertionError: Day 2015
Expected: <Thu Apr 02 01:51:27 CEST 2015>
but: was <Thu Apr 02 01:51:27 CEST 2015>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
The dates look the same but they differ in their milliseconds.
I wrote my own method similar to fromOADate(double d, TimeZone tz) and pull out days, hours, minutes and seconds one by one out of the fraction ignoring millis and anything smaller (can't share it, sorry, but you get the idea).
It would be interesting if you can reproduce the error by copying the lines above into your test.
The text was updated successfully, but these errors were encountered:
I added the following test to OleAutomationDateUtilTest
and I get the following error
The dates look the same but they differ in their milliseconds.
I wrote my own method similar to fromOADate(double d, TimeZone tz) and pull out days, hours, minutes and seconds one by one out of the fraction ignoring millis and anything smaller (can't share it, sorry, but you get the idea).
It would be interesting if you can reproduce the error by copying the lines above into your test.
The text was updated successfully, but these errors were encountered: