{"issue":{"milestone":null,"user":{"id":579956,"login":"jmdavis","url":"https://api.github.com/users/jmdavis","avatar_url":"https://secure.gravatar.com/avatar/797e06feb159ad441a5dd270c4ccf06e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"797e06feb159ad441a5dd270c4ccf06e"},"created_at":"2011-12-17T07:32:09Z","title":"Removed static constructors from std.datetime.","state":"open","updated_at":"2011-12-18T17:59:52Z","labels":[],"id":2587972,"html_url":"https://github.com/D-Programming-Language/phobos/issues/374","closed_at":null,"pull_request":{"patch_url":"https://github.com/D-Programming-Language/phobos/pull/374.patch","html_url":"https://github.com/D-Programming-Language/phobos/pull/374","diff_url":"https://github.com/D-Programming-Language/phobos/pull/374.diff"},"body":"This turned out to be far easier than I thought that it would, though I don't know why I couldn't get the cast to work without the alias. Purity and immutability are maintained, albeit by cheating. I even removed the static constructor used for unit tests, since it's easy enough to get the same behavior without an actual static constructor, and it will help avoid any possible circular dependencies in the future.","number":374,"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/374","comments":4,"assignee":null},"comment":{"user":{"id":566679,"login":"andralex","url":"https://api.github.com/users/andralex","avatar_url":"https://secure.gravatar.com/avatar/84f8321680c16c6dcf8203a54be03930?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"84f8321680c16c6dcf8203a54be03930"},"created_at":"2011-12-18T17:59:52Z","updated_at":"2011-12-18T17:59:52Z","id":3195902,"body":"@jmdavis Hmmm, if you could get it done with shared that would be great. If not, you may want to make _utc a pointer to shared via a cast. I know, dirty... leave a // TODO there to fix things once shared is completed. Thanks!","url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments/3195902"},"action":"created"}