Skip to content

DateTimeZone.UtcId should probably not be public #64

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

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Closed

DateTimeZone.UtcId should probably not be public #64

GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Labels

Comments

@GoogleCodeExporter
Copy link

We've defined the UTC timezone ID as "UTC".  It seems odd to provide a public 
constant for that as well, since it's not as if we can change it.

DateTimeZone.UtcId is used by e.g. FixedDateTimeZone, so it should probably be 
retained, but internal (or, better, protected internal, so that someone can 
easily create a 'new' UTC timezone).

Original issue reported on code.google.com by malcolm.rowe on 18 Apr 2012 at 9:34

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

No branches or pull requests

2 participants