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

Update @JsonFormat javaDoc regarding LocalDate usage. #269

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
* <li>{@link java.util.Date}: Shape can be {@link Shape#STRING} or {@link Shape#NUMBER};
Copy link
Member

@cowtowncoder cowtowncoder Dec 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not part of change here, but should probably add java.util.Calendar along with java.util.Date.

And few lines above, "As Jackson 2.6 should be updated to 2.18" or so.

* pattern may contain {@link java.text.SimpleDateFormat}-compatible pattern definition.
* </li>
* <li>{@code java.time.*}: Types in the {@code java.time} package can use
* {@link Shape#STRING} for serialization and deserialization. When {@link Shape#STRING}
* is used, the pattern property typically follows
* {@link java.time.format.DateTimeFormatter}-compatible formatting rules.
* </li>
* <li>Can be used on Classes (types) as well, for modified default behavior, possibly
* overridden by per-property annotation
* </li>
Expand Down
Loading