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
The issue is related to LocalDateTimeRangeRandomizer, some time the range gets yesterday, so the time of the day could be greater than now. As show is this example:
That second comparator is whats is causing the exception. First LocalDateDate is actually before the second, but not the dateTimes.
It would be ok to remove the LocalTime check?
The text was updated successfully, but these errors were encountered:
johkin
added a commit
to johkin/easy-random
that referenced
this issue
Oct 21, 2019
The randomizer could not generate datetime if the range span midnight, since the min/max-check failed for the LocalTimeRangeRandomizer.
The new implementation breaks the current seed-based generation.
j-easy#361
Hi,
I have this data generator:
The issue is related to LocalDateTimeRangeRandomizer, some time the range gets yesterday, so the time of the day could be greater than now. As show is this example:
That second comparator is whats is causing the exception. First LocalDateDate is actually before the second, but not the dateTimes.
It would be ok to remove the LocalTime check?
The text was updated successfully, but these errors were encountered: