jakartaee / jakartaee/mail-api

Enhancement Request: Use java.time instead of java.util time classes

Open
#264 2 comments 0 reactions 0 assignees View on GitHub
Component: generic enhancement Priority: P4
Dominant language
Java
Stars
285
Forks
109
Avg merge
15h 19m
Merged PRs (30d)
1

Description

Starting with Java 8, better time classes are available, that could also be used for methods like _message.getReceivedDate()_

To preserve backwards compability, a new method could be added (something like _get...LocalDate()_). This would allow new programs to use the java.time classes consistently.

Contributor guide

Open the contributing guide

Research direction

Start with the Message.getReceivedDate() entry point mentioned in the issue and review the existing time-returning API. Define a backwards-compatible java.time-based method and document the intended naming and compatibility behavior; done means the API clearly supports java.time without removing the existing method.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.