Skip to content

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

@jcflack

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.

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