Skip to content

Add getYearObj() to temporal classes #167

@jodastephen

Description

@jodastephen

Consider providing a link to the Year class by adding getYearObj() or getYearType() methods to all ThreeTen-Extra classes where appropriate. Check for any other similar cases that could be improved.

Note that this can be done via temporal.query(Year::from) or Year.from(temporal) already, but they seem a touch unwieldy.

Originally suggested in #155.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions