Nager.Date
Nager.Date copied to clipboard
Add country India
Need to implement provider for Indian holidays India is know for Unity in diversity. you can see diversity in holidays as well. Wikipedia suggests more than 20 days as holidays based on religions, states etc. Wikipedia: Public holidays in India.
Following are the national holidays which we need to add in IndianProvider.cs. Reference: Indian post office holiday list.
I categorized list into two sections.
- Holidays with fixed date.
- Holidays which varies in date.
Holidays with fixed date. All dates are in dd/MM/yyyy format
- Republic day of India. -> 26/01/2018
- Independence day of India -> 15/08/2018
- Mahatma Gandhi birthday -> 02/10/2018
- Christmas -> 25/12/2018
Holidays which varies in date. All dates are in dd/MM/yyyy format
- Mahavir jayanti.
- Budha's Birthday
- eid ul fitr
- Bakrid
- muharram.
- Dussehra.
- Diwali. Equation = +20 days of Dussehra.
- Id-E-Milad.
- Gurunanak's Birthday.
All holidays which are categorized into second section may vary depends upon user. Holidays in second categories needs some sort of algorithm to get exact date.
I stared working on Indian provider, added all fixed holidays. Need to work on second section holidays.
Okay thanks. I think this page is also a good reference but it's no list available, of the full year. https://www.india.gov.in/calendar?date=2018
@tinohager are you working on this issue??
@iamrishav I don't have time for this at the moment.
@tinohager , @iamrishav I can work on this enhancement, but it seems pretty difficult. because dates which comes under the second category are more than first category. (Refer my first message for categories). We do not have any logic or algorithm to implement dates from second category.
If any one of you help me to design/develop logic for holiday dates which varies every year then It would be really helpful
@MaximeGenevier Are you still creating a pull request for the new India provider?
@MaximeGenevier Are you still creating a pull request for the new India provider?
@tinohager No sorry, I didn't had time to work on it anymore
@MaximeGenevier Thanks for the fast feedback
@iamrishav @prasadtelkikar Would any of you like to complete the work of MaximeGenevier?