Why are cells formatted as time, returned as a Duration? #52
pressing-buttons
started this conversation in
General
Replies: 1 comment
-
Not reason, it should be LocalTime. Not sure why I thought Duration was the right class for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering why a cell formatted as a "time" value (e.g. 22:30:15 using
HH:MM:SS
) are returned as aDuration
rather than aLocalTime
?It's not a big deal to convert that into a LocalTime instance, but I find the choice of Duration a bit surprising.
Beta Was this translation helpful? Give feedback.
All reactions