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

Calculate Leap Year only by year #3

Closed
behiunforgiven opened this issue Feb 4, 2018 · 2 comments
Closed

Calculate Leap Year only by year #3

behiunforgiven opened this issue Feb 4, 2018 · 2 comments

Comments

@behiunforgiven
Copy link

In some situations we need to know a year is leap or not only by Year.
PersianDate.IsLeap(Year)

Can you provide that?

@samanzamani
Copy link
Owner

In the next version I will consider this item.

@samanzamani
Copy link
Owner

Add two new static method in version 0.2:

PersianDate.isGrgLeap(int GrgYear)
PersianDate.isJalaliLeap(int ShYear)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants