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

Zoned Interval #161

Open
jrieko opened this issue Oct 5, 2020 · 1 comment
Open

Zoned Interval #161

jrieko opened this issue Oct 5, 2020 · 1 comment
Labels

Comments

@jrieko
Copy link

jrieko commented Oct 5, 2020

What do you think about adding support for an Interval which can retain time zones of the bounding instants?

IIRC joda time's interval supported this, but its ReadableInstant could include time zones; JSR-310's does not. So I'm guessing this would require another Interval class composed of ZonedDateTimes.

Happy to PR this myself, but would like opinions and ideas first.

@jodastephen jodastephen added the RFE label Oct 7, 2020
@jodastephen
Copy link
Member

It feels like ThreeTen-Extra can grow to support various combinations of temporals like this. Whether it should be ZonedInterval (an interval plus zone) or ZonedDateTimeRange is an interesting question. I'm not immediately sure how to pick.

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

No branches or pull requests

2 participants