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 can I calculate the second last week in a month? #2

Open
benze opened this issue Jan 13, 2023 · 1 comment
Open

How can I calculate the second last week in a month? #2

benze opened this issue Jan 13, 2023 · 1 comment

Comments

@benze
Copy link

benze commented Jan 13, 2023

I'm looking to identify the second-last Monday in May. Is there any combination that I can use in the NthWeek enum or some other structure that I can use to identify that date?

@xemwebe
Copy link
Owner

xemwebe commented Feb 24, 2023

I have added NthWeek::SecondLast, NthWeek::ThirdLast and NthWeeik::FourthLast.
Just out of curiosity: which calendar has the 2nd last month of May as holiday?

Please let me know if this fixes your problem.

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

No branches or pull requests

2 participants