Skip to content

One easy bug in java.time.LocalDate mapping #390

Closed

Description

@jcflack

A limitation on the mapping of infinity and -infinity to java.time.LocalDate, covered in the docs as something inherent (the "late Miocene" bit, which was fun to write but under-analyzed) turns out to be a much more prosaic and avoidable integer overflow. It only affects dates within 30 years of infinity or -infinity.

Activity

  1. jcflack commented on Jan 26, 2022

    @jcflack
    ContributorAuthor

    Believed resolved in 1.6.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions