Adding or subtracting days to a date, or calculating the difference of days between dates are relatively simple operations and there are plenty of components capable of execution such operations.
However, if you want to know for instance to determine on which month will happen the next Friday 13th, that is not such an easy calculation.
This class is capable to perform several kinds of unusual date calculations that may be interesting for specific purposes.
This class can be used to perform special calendar date calculations. It can:
- Get the day of the week of a given day of a month of an year
- Get the months of an year on which a given day happens on a certain week day
- Get the day of a given month and year that happens on a given day of the week
- Determine if a given year is a leap year