Closed petersohn closed 2 months ago
That would be immediate if Gpx used Hifitime to represent the local time. I might take a look at this, see how much it would cost to upgrade
Why not just make the underlying OffsetDateTime
public?
Oh, that works for me, thanks.
The reason for this is to avoid exposing an implementation detail to the users, so we can change libraries more easily.
Apparently, the only thing I can do with
Time
is to format it. I need the innerOffsetDateTime
, for example to calculate durations. Currently the only way I can do it is to format it to a string then parse it because the underlying object is private. Is there a good reason for this?