question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for using java.time.Duration as dueDate for timers

See original GitHub issue

The TimerUtil is used to create the timer job entity. It would be nice if we support java.time.Duration as due time.

If the expression returns java.time.Duration we can set the dueDateString

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
filiphrcommented, Aug 2, 2018

@lamtrhieu of course. Let us know if you need some help.

0reactions
filiphrcommented, Aug 19, 2018

Done in PR #1228. Thanks @lamtrhieu for the contribution

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java Swing Use Date for Timer - Stack Overflow
Date is not a good fit for storing elapsed time, since it represents an absolute point in time. The class which is designed...
Read more >
Package java.time - Oracle Help Center
A date-based amount of time in the ISO-8601 calendar system, such as '2 years, 3 months and 4 days'.
Read more >
Java - Timer - Baeldung
Using the Java Timer and TimerTask to get the most out of it. Schedule a delayed one time task, a daily task or...
Read more >
Java Date and Time - W3Schools
Java Dates ; LocalDate, Represents a date (year, month, day (yyyy-MM-dd)) ; LocalTime, Represents a time (hour, minute, second and nanoseconds (HH-mm-ss-ns)).
Read more >
Activiti User Guide
To install Activiti you'll need a working Java runtime and Apache Tomcat ... The recurring time duration is better suited for handling relative...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found