Skip to content

Conversation

@wendigo
Copy link
Contributor

@wendigo wendigo commented Jun 11, 2025

Switched from Joda-Time DateTime to java.time.Instant for measuring timings. This aligns with how the values
are already being used—primarily for durations rather than calendar-based datetimes. Using Instant is more
semantically appropriate and consistent with the rest of the codebase. Additionally, Instant is a @valuebased class,
allowing potential performance optimizations in newer Java versions.

Description

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Jun 11, 2025
@wendigo wendigo force-pushed the serafin/instant-times branch 4 times, most recently from 3a3aae3 to ca9507b Compare June 11, 2025 15:37
@wendigo wendigo requested a review from losipiuk June 11, 2025 15:40
@wendigo wendigo force-pushed the serafin/instant-times branch 2 times, most recently from 232ce25 to 885bfa8 Compare June 11, 2025 17:09
@wendigo wendigo requested a review from raunaqmorarka June 11, 2025 17:09
@wendigo wendigo force-pushed the serafin/instant-times branch from 885bfa8 to a034eb2 Compare June 11, 2025 17:11
Switched from Joda-Time DateTime to java.time.Instant for measuring timings. This aligns with how the values
are already being used—primarily for durations rather than calendar-based datetimes. Using Instant is more
semantically appropriate and consistent with the rest of the codebase. Additionally, Instant is a @valuebased class,
allowing potential performance optimizations in newer Java versions.
@wendigo wendigo force-pushed the serafin/instant-times branch from a034eb2 to 3b255ff Compare June 11, 2025 19:05
@wendigo wendigo changed the title Use java.time.Instant instead of Joda DateTime Replace Joda-Time DateTime with java.time.Instant Jun 11, 2025
@wendigo wendigo merged commit 9e867a8 into master Jun 11, 2025
5 of 66 checks passed
@wendigo wendigo deleted the serafin/instant-times branch June 11, 2025 19:06
@github-actions github-actions bot added this to the 477 milestone Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants