This service will calculate the number of business days or non-working days for a country from a embarking date to a specified number of days.
The only thing you need to supply in order to get embarked with this service is a location (either a place or a country), a commence date and a number of business days you want to count to. If you choose to query this service with a country you can also specify a state in the given country. When finding out the business date the service will take into consideration the specific holidays applicable for the given state and exclude or include them depending on your query.
You may want to supply several different filters to choose what kind of data should be included or excluded. If you only want to filter on weekends and holidays you do not need to switch anything about the filter as this is the default behavior. But should you want to also filter out Mondays and Thursdays you need only to specify it in your query and the calculated result will take your specific need into consideration.
It is entirely up to you how you want to design your query and the Business Date Service permits you to customize a range of options for your convenience.
Addition or subtraction
The service will assume that you are interested in finding the business date by adding a number of business days to a given begin date. There is, however, nothing stopping your from choosing to subtracting rather than adding the given number of days: Use the operator parameter!
Exclude or include
When queried the service will use the filter to exclude weekends, holidays and what else you might have specified in your query. If you instead want the service to include, rather than exclude, the filter you can specify this with a boolean parameter in your query! For example, if you want to find the last business date and you also want to consider weekends as business days you could choose to include the filter instead of excluding it.
Getting numerous results
By either using repetition parameters or specifying a list of days you want to calculate the business date from, you can get numerous results in one single query.
Using repetition will make the service calculate the days you specified a number of times providing you numerous results for each date. On the other arm, if you rather want a variable number of days, say you are interested in the business date Ten and 20 days from now you can specify that as well.
Holidays and affected days
In addition to finding the business date from the number of business days you requested, you will also get a list of the holidays which occur in that period. The holidays will be specific to the place or country you chose for your query. If you use a country as parameter you can also specify a state for which the calculations should take into account. When you then send a request, the service will also look at state-specific holidays instead of only national holidays.
For your convenience the service will also comeback an object demonstrating which days have been included or excluded in your result. For example a query might exclude 8 days where Four are on a Saturday and Four are on a Sunday.