Hey there,
I have calculated the difference between 2 Dates, and I got a long value. I want that value to become a String like a typical JIRA Time Track value (for example “2d 3h 45m”)
Is there any class which have a function that returns that by a given long value?
So long
Hi @M.Abdel-Mola,
Looked through the Java API for various Utilities and Formatters, I stumbled to JiraDurationUtils class. You can find more here Thought it might help. Let me know if id did
Thanks!
Cheers,
Anne Calantog
2 Likes
Many thanks!
That is exactly what I was looking for
1 Like