Switch to java.time #583

Merged
Isira-Seneviratne merged 3 commits from java.time into devel 2 years ago
Isira-Seneviratne commented 2 years ago (Migrated from github.com)
  • Switch to using the java.time package instead of the legacy Date and Calendar classes. The new API offers several advantages over the legacy API.
  • Reuse a time difference calculation method that was duplicated across multiple classes and improve the calculation using java.time's functionality.
* Switch to using the `java.time` package instead of the legacy Date and Calendar classes. The new API offers [several advantages](https://www.baeldung.com/migrating-to-java-8-date-time-api) over the legacy API. * Reuse a time difference calculation method that was duplicated across multiple classes and improve the calculation using `java.time`'s functionality.
Koitharu (Migrated from github.com) reviewed 2 years ago
Isira-Seneviratne (Migrated from github.com) reviewed 2 years ago
Koitharu (Migrated from github.com) reviewed 2 years ago
Koitharu (Migrated from github.com) approved these changes 2 years ago

Reviewers

The pull request has been merged as 3f2e32dcc2.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b java.time devel
git pull origin java.time

Step 2:

Merge the changes and update on Gitea.
git checkout devel
git merge --no-ff java.time
git push origin devel
Sign in to join this conversation.
Loading…
There is no content yet.