Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Resolved
-
2.0.0-M7
-
None
Description
I had to use the Instant overload...
val testDateTime = LocalDate.parse("2014-05-18");
val testInstant = Instant.from(testDateTime.atStartOfDay().toInstant(ZoneOffset.UTC));
val virtualClock = VirtualClock.nowAt(testInstant);