ZonedDateTime is not supported for Create Timer
Expected Behavior
I should be able to create a timer for a ZonedDateTime.
Actual Behavior
Behavior not implemented.
Steps to Reproduce the Problem
Create a workflow that use a timer:
ZonedDateTime now = ZonedDateTime.now();
//Let's create a ZonedDateTime 30 seconds in the future
ZonedDateTime inTheFuture = now.plusSeconds(30);
ctx.getLogger().info("Starting the timer at: {}", new Date());
ctx.createTimer(inTheFuture).await();
ctx.getLogger().info("Finishing the timer at: {}", new Date());
Release Note
RELEASE NOTE:
PR in durable task needs to be merged and released: https://github.com/dapr/durabletask-java/pull/26
it looks to be supported. I see an integration test here with it being used, but it looks a bit confusing with the unsupported line you are changing
@cicoyle I reached out to the original author on Discord and I got an answer from: x0n here: https://discord.com/channels/778680217417809931/1075836407156850698/1381813125522915511
From your comment, I don't understand if you are requesting a change or if the PR in durable-tasks is ready to be merged
This PR: https://github.com/dapr/java-sdk/pull/1413 depends on https://github.com/dapr/durabletask-java/pull/26 and https://github.com/dapr/java-sdk/pull/1405