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

Add getYearObj() to temporal classes #167

Open
jodastephen opened this issue Nov 30, 2020 · 0 comments
Open

Add getYearObj() to temporal classes #167

jodastephen opened this issue Nov 30, 2020 · 0 comments

Comments

@jodastephen
Copy link
Member

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.

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

No branches or pull requests

1 participant