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

How to get "Week of the year"? #24

Closed
behiunforgiven opened this issue Jul 20, 2019 · 1 comment
Closed

How to get "Week of the year"? #24

behiunforgiven opened this issue Jul 20, 2019 · 1 comment
Labels

Comments

@behiunforgiven
Copy link

I need to get or calculate Week Of The Year.
can you add this feature?

@samanzamani
Copy link
Owner

samanzamani commented Jul 20, 2019

PersianDate date = new PersianDate();
int weekInYear = (int) date.getDayInYear()/7;

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

No branches or pull requests

2 participants