-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Make TimeZoneRegion::utc() return a TimeZoneRegion not an TimeZoneOffset #49
base: master
Are you sure you want to change the base?
Conversation
Or perhaps there shouldn't be I appreciate the shorthand form of |
Good point about I did like the fact than you could just get I don't think keeping an abstract static That leaves us with two methods to represent a UTC time-zone: Indeed, Java has a |
Definitely don't want to see two different utc factory. Move |
@solodkiy I don't think so. You can still construct it manually with |
Moving forward, I don't think it hurts much to keep @tigitz Can you please just add the new method in |
I think it's reasonable from a DX perspective to expect
TimeZoneRegion::utc()
to return aTimeZoneRegion
instead of the offset.