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
Instead of using an ambiguous (w.r.t. the unit) long to represent date/time concepts (like a delay or "now"), please use the appropriate java.time types (Duration or Instant).
There's a bunch of APIs in org.robolectric.util.Scheduler that could be improved using java.time types.
The text was updated successfully, but these errors were encountered:
@kluever thanks for the post. These APIs are probably suboptimal. However, they are related to the legacy looper mode, which has been deprecated for 5+ years. There is not much point in investing a significant amount of resources to migrate something that is deprecated and obsolete to a more modern API.
Instead of using an ambiguous (w.r.t. the unit)
long
to represent date/time concepts (like a delay or "now"), please use the appropriatejava.time
types (Duration
orInstant
).There's a bunch of APIs in
org.robolectric.util.Scheduler
that could be improved usingjava.time
types.The text was updated successfully, but these errors were encountered: