Wasinski's Blog

Timezone handling pitfalls II

When you must use timezone-aware solutions

Recently I have the pleasure to work as technology leader on a project that requires proper implementation of timezone handling, over some time I learned, sometimes the hard way quite a lot on this topic.

Is that Dependency Injection or Service Locator Pattern?

I have to admit to something. For the last 2 years, I was using Service Locator Pattern in one of my projects while being completely convinced that I was using Dependency Injection, but it turns out that I'm not alone in making such a mistake. What are the differences, what are the consequences of being wrong, and how to distinguish these two patterns?

Timezone handling pitfalls I

there are simpler solutions than UTC

Recently I have the pleasure to work as technology leader on a project that requires proper implementation of timezone handling, over some time I learned, sometimes the hard way quite a lot on this topic.