I was hoping to construct a RelativeTime object and then use members like getMilliseconds(), getSeconds(), getMinutes(), getHours() to format a string in the form “hh:mm:ss.ms”, where hh is present only if the RelativeTime is 60 minutes or more, and the mm is present only if the RelativeTime is 1 minute or more.
1 Like
That’s a good request. Noted.
1 Like
I was expecting RelativeTime to enable a string representation in a desired format like in Time.formatted, but all of the present methods give only the total duration. Basically that is hardly more useful as a simple double representing the total number of seconds.
The getDescription methods don’t cut it. Why not just add methods for extracting the hour, minute, second etc. parts for the total duration and also implement a formatted method in the same fashion as in the Time class?
