Subclassing datetime.date in Python 3
Sunday, September 23, 2018
I’ve been building an application that uses Python’s
datetime.date class to represent financial quarters. The system hardcodes the month and day of each quarter, so the first quarter, for example, is equal to March 31st, and does not vary year to year. Read more...