Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add methods to increment / decrement GDMDate #580

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

hazzik
Copy link
Contributor

@hazzik hazzik commented Jun 27, 2024

The functions support to increase/decrease the dates by 1 of the smallest available period for the date. Invalid partial dates (eg. only month-year or day-year set are not supported and likely throw an error).

DaysInMonth supports only Proleptic Julian/Gregorian calendars. Therefore it completely ignores the leap year problem that existed between 45BC and 8AD.

I need this functions to be able to calculate difference in the time periods.

Copy link
Owner

@Serg-Norseman Serg-Norseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Serg-Norseman Serg-Norseman merged commit 97b955d into Serg-Norseman:master Jun 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants