openrewrite / openrewrite/rewrite-migrate-java

Explore how to convert the legacy Date/Calendar classes to the JSR310 Date/Time library

Open
#86 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

recipe
Dominant language
Java
Stars
156
Forks
130
Avg merge
20h 57m
Merged PRs (30d)
21

Description

This task is meant to track the discovery of recipes that will help migrate the legacy date/time classes in Java to the JSR310 Date/Time library.

Things in scope for possible conversion are :

  • java.util.Date
  • java.util.Calendar
  • java.util.TimeZone
  • java.text.DateFormat

We would like to solicit feedback from the community on the most common conversions that are needed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the migration scope in the issue: java.util.Date, java.util.Calendar, java.util.TimeZone, and java.text.DateFormat, along with the target JSR310 Date/Time library. The repository files, tests, and entry points are not specified. Done would require identifying common conversion recipes and documenting or implementing an agreed scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.