Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2992

[Applib] VirtualClock.nowAt(LocalDate.parse("2014-05-18")) fails.

    XMLWordPrintableJSON

Details

    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);

      Attachments

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: