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

Issue/302 invalid time na when using progress listener #315

Conversation

Euklios
Copy link
Collaborator

@Euklios Euklios commented Mar 11, 2024

This closes #302 and adds corresponding tests

@bramp
Copy link
Owner

bramp commented Mar 11, 2024

Thanks. As we make these changes, there are certainly a few things I don't like about the existing API, such as using -1 to mean N/A. Ideally we split the type to be null/optional/something when N/A, and a real int when otherwise.

Thus forcing the call to deal with the N/A, hopefully in a safe way. Maybe we start to make a list for the next major version, that uses the latest and greatest Java.

Anyways, this pr looks good. Thanks!

@bramp bramp merged commit 6966a23 into bramp:master Mar 11, 2024
1 of 4 checks passed
@Euklios
Copy link
Collaborator Author

Euklios commented Mar 11, 2024

@bramp There are multiple things we already discussed that would be breaking the API.
If you want, create a milestone, and we could start attaching issues to it.
Might actually make it a 1.0.0 release

@Euklios Euklios deleted the issue/302-invalid-time-NA-when-using-progress-listener branch March 11, 2024 22: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.

invalid time 'N/A' when use progress listener
2 participants