In this course, we’ll be reprinting an article previously published on Christmas Day 2011 under the title “In 2012, Christmas falls on December 25!”

We also covered this topic a long time ago in an article in “Planet 4D” magazine … but the topic is still relevant today and we’re going to modernize the code by continuing our Stmp class started in the previous series of courses.
This course shows that behind seemingly simple notions – such as a week, a religious holiday, a Monday of week 35 or a quarter – lie in reality sometimes complex historical, cultural and mathematical rules. The aim is not only to produce functional code, but also to understand how to structure a utility class capable of absorbing this complexity in a clean, readable and scalable way.
Over the course of the lessons, you’ll see how to transform calendar reasoning into reusable functions, how to evolve an existing API without breaking it, and how to take advantage of timestamps to more easily manipulate time-related business concepts.