DateTimeExtensions icon indicating copy to clipboard operation
DateTimeExtensions copied to clipboard

This project is a merge of several common DateTime operations on the form of extensions to System.DateTime, including natural date difference text (precise and human rounded), holidays and working da...

Results 25 DateTimeExtensions issues
Sort by recently updated
recently updated
newest added

Hi, Great work mate! There is 1 issue with pl-PL Public holiday is 3rd of May there is a typo and it shows 5th of march so 03-05 05-03 issue.

Hi, Is it possible to use the interface IWorkingDayCultureInfo instead of the WorkingDayCultureInfo concrete class in the GetWorkingDays method? Or is there a reason why the interface is not used...

OnGoing

Hi, I am trying to use a custom cultureInfo class here. when I use this call var holidays = DateTime.UtcNow.AllYearHolidays(new CultureInfo()); I get An item with the same key has...

refactor

See https://www.employment.govt.nz/leave-and-holidays/public-holidays/public-holidays-and-anniversary-dates/ and https://www.whatdate.co.nz/2022/

May Bank Holiday is moved to June and a new extraordinary Holiday is added, just for 2022. Source: https://www.gov.uk/government/news/extra-bank-holiday-to-mark-the-queens-platinum-jubilee-in-2022

> I guess a good unit test code coverage could find those bugs, but, don't you think the library will be a lot more flexible if we can somehow define...

The Queen's birthday in the en-AU strategy has been implemented to be the 2nd Monday in June. This is applicable across most states, however there are exceptions. How would these...

If it is Monday at 2pm and you add 2 business days to that, it would be Wednesday of course. However, if your business closes at 1pm every day, 2...

You might want to add this: http://stackoverflow.com/questions/7029353/how-can-i-round-up-the-time-to-the-nearest-x-minutes It helped me a lot and would definitely fit in these extensions.

Hi There, Firstly, thanks for the great library. I know it is noted that the AddWorkingDays extension method is not designed to be used with large datasets. Is there any...