We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Implementing code using Clock is not as pleasant as it could be.
Now, I have to write something like this:
Instant instant = Instant.now().plus(10, ChronoUnit.MINUTES); Date date = Date.from(instant); page.clock().setSystemTime(date)
But I would like to write just like this:
page.clock().setSystemTime(LocalDateTime.now().plusMinutes(10))
To use more modern and more convenient java.
First article
Second article
The text was updated successfully, but these errors were encountered:
Definitely 100% support for this. Please don't use the very old and broken Date API, modern code should always use the java.time API.
Date
java.time
Sorry, something went wrong.
No branches or pull requests
🚀 Feature Request
Implementing code using Clock is not as pleasant as it could be.
Example
Now, I have to write something like this:
But I would like to write just like this:
Motivation
To use more modern and more convenient java.
First article
Second article
The text was updated successfully, but these errors were encountered: