A utility class for handling datetime operations, including calculating distances, finding the next or last occurrence of a date, and extracting date parts.