Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] made date calculation efficient #5593

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Robin6939
Copy link
Contributor

Description:

Replaced XMLGregorianCalendar with the java.time API, which is designed for modern, efficient date-time manipulation. Any query is now executed within a couple of seconds.

Reference:

#5045

Type of tests:

Didn't add any test cases since this was for efficiency improvement. Have done dev testing on my part.

@Robin6939 Robin6939 requested a review from a team as a code owner December 31, 2024 13:47
@Robin6939 Robin6939 force-pushed the hotfix/efficient-date-calculation branch from f16ef00 to 8ad25ca Compare December 31, 2024 13:55
Copy link
Contributor

@duncdrum duncdrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Robin6939 thank you for the PR. It's a good start but requires more work. There are a number of salient test failures in the current state.

I would suggest addressing the NPEs first, and then take a look at the xml specs regarding the expected and acceptable formats for the remaining test. If you have questions about the existing tests feel free to ask.

@Robin6939
Copy link
Contributor Author

Hi @duncdrum
Thank you for your review 😄
Yes I would go ahead and fix those as soon as possible.

@line-o line-o marked this pull request as draft January 20, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants