D-Programming-Language/phobos — pull request #374 by jmdavis (2011-12-17 07:32:09+00:00)
Title: Removed static constructors from std.datetime.

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.