Time Slots and Set Theory
April 06, 2020
Time slots are defined periods of time with a start date and an end date. There are many situations for which we will need to define a section of time in code and, surprisingly, not many tools to do it. Today we will be looking at my implementation of a TimeSlot in Java and doing a teeny tiny bit of set theory in the process. At the end we’ll look at how we might use this implementation to solve some common time slot related interview questions.