Make TimeZoneRegion::utc() return a TimeZoneRegion not an TimeZoneOffset#49
Make TimeZoneRegion::utc() return a TimeZoneRegion not an TimeZoneOffset#49tigitz wants to merge 1 commit intobrick:masterfrom
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 aTimeZoneRegioninstead of the offset.