I think it could be easily modified for other countries.

Recommend this page to a friend!

      PHP Business Days Calculator  >  All threads  >  I think it could be easily modified...  >  (Un) Subscribe thread alerts  
Subject:I think it could be easily modified...
Summary:Package rating comment
Messages:2
Author:James Bradley
Date:2020-12-14 14:19:52
 

James Bradley rated this package as follows:

Utility: Sufficient
Consistency: Good
Documentation: Sufficient

  1. I think it could be easily modified...   Reply   Report abuse  
Picture of James Bradley James Bradley - 2020-12-14 14:19:52
I think it could be easily modified for other countries.

  2. Re: I think it could be easily modified...   Reply   Report abuse  
Picture of Fernando Val Fernando Val - 2020-12-14 14:51:13 - In reply to message 1 from James Bradley
Yes!

The developer can send an array with hollidays DateTime objects to the class on constructor.

I didn't defined any other coutries pre-set hollidays fuctions because I'm brazilian. But anyone can send a pull request with the implementation for pre-set countries hollidays.

Maybe tranform the countries' hollidays pre-sets in extensions.

 

For more information send a message to info at phpclasses dot org.