Commit Graph

14 Commits

Author SHA1 Message Date
James Cole c43b37baef Various phpstan fixes [skip ci] 2025-01-04 08:42:06 +01:00
James Cole 3898c0c0ef Fix phpstan issues. 2025-01-03 18:16:27 +01:00
James Cole 68c9c4ec3c PHPStorm can order methods by alphabet, who knew. 2024-02-22 20:11:09 +01:00
James Cole f963ac63f1 Various code cleanup and fixed alignments. 2024-01-01 14:43:56 +01:00
James Cole 8a4985261a Fix various code 2023-12-21 06:06:23 +01:00
James Cole 64ec0cf62e Code cleanup. 2023-12-20 19:35:52 +01:00
James Cole b02a61dfbd Add some PHP 8.3-only features. 2023-12-02 12:56:48 +01:00
James Cole ba0843d0bb Code cleanup 2023-11-04 14:18:49 +01:00
James Cole 12675dd950 Refactor phpstan errors. 2023-10-29 17:41:14 +01:00
James Cole 788dae1477 fix: notifications 2023-07-17 20:33:26 +02:00
James Cole b557805eeb Code for new release 2023-07-15 16:02:42 +02:00
James Cole 775504acb6 Chore: Add phpdocs 2023-07-04 13:29:19 +02:00
Antonio Spinelli 720fff4595 Fix typo, remove unused class and change the copyright author 2023-07-04 06:26:05 -03:00
Antonio Spinelli dbb7ed3d5d Add the Calendar Calculator
It encapsulates some date operations like sum. The result will be the
calculated date when calling the nextDateByInterval method, given the
date, periodicity, and skipInterval parameters.

For example, given a date of 2019-12-31, monthly periodicity, and skip
interval 0, the results will be 2020-01-31. Also, if the skip interval
is 1, the result is 2020-02-29. This is because the next date will add
another month to the current range.
2023-07-03 13:46:29 -03:00