[ 
https://issues.apache.org/jira/browse/ISIS-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17517453#comment-17517453
 ] 

ASF subversion and git services commented on ISIS-2992:
-------------------------------------------------------

Commit 102aa31fbc065867f7b57ecf2fd5283c3de29849 in isis's branch 
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=102aa31fbc ]

ISIS-2992: fixes VirtualClock construction issues

> VirtualClock.nowAt(LocalDate.parse("2014-05-18")) fails.
> --------------------------------------------------------
>
>                 Key: ISIS-2992
>                 URL: https://issues.apache.org/jira/browse/ISIS-2992
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Applib (programming model)
>    Affects Versions: 2.0.0-M7
>            Reporter: Daniel Keir Haywood
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> 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);



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to