In my test case, I need test time sensitive method, in that method we\'re using java 8 class LocalDate, it is not Joda.
What can I do to change time
You might also want to pass a fixed clock in production (the value of which is fixed at the start of a transaction) to avoid using inconsistent "now" in different entities and requests. See this question for details.