The list of PublicHolidays

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

The list of PublicHolidays

Post by mrbdrm »

From the User Guide

Code: Select all

Function:
BUSINESS_DAY_FORWARD
Description:
Calculates the date that corresponds to the first business day after the provided date. Business days are usually those that do not include weekends and public holidays. The list of public holidays may be provided in the “PublicHolidays” property of the server property file
There is no file in AwareIM directory that have the list of Public Holidays.
how can we change the Public Holidays and the weekend days.
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: The list of PublicHolidays

Post by customaware »

I do it in a seperate BO as gazetted Public Holidays often vary year on year and many organisations move Public Holidays that fall mid-week to before or after a weekend.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: The list of PublicHolidays

Post by mrbdrm »

eagles9999 wrote:I do it in a seperate BO as gazetted Public Holidays often vary year on year and many organisations move Public Holidays that fall mid-week to before or after a weekend.
still,
that mean we can't take advantage of AwareIM holydays and end of week related functions...
or even make the correct calculations regarding the issue
hpl123
Posts: 2607
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: The list of PublicHolidays

Post by hpl123 »

1+ on info on how to customize public holidays? Thanks
Henrik (V8 Developer Ed. - Windows)
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: The list of PublicHolidays

Post by mrbdrm »

Support any input on this matter?
rob_h7
Posts: 85
Joined: Mon Jan 25, 2010 3:52 am

Re: The list of PublicHolidays

Post by rob_h7 »

found this in the UserGuide - pg 446 - 447

The following table lists and explains the property settings of the BASServer.props file that are used to initialize the Aware IM Server:

PublicHolidays - A collection of days identifying public holidays in the country or state of operation. This information is used by BUSINESS_DAY_FORWARD and BUSINESS_DAY_BACK functions of the Rule Language (see “Aware IM Rule Language Reference”). The days must be in the format “dd/MM/yyyy” and must be separated by comma, for example:
25/12/2004,26/12/2004,… If this propery is not specified BUSINESS_DAY_FORWARD and BUSINESS_DAY_BACK functions will only consider weekends as non-working days.
Rob . Aware 8.4 (build 2718), Developer Edition, using Linux, MYSQL
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: The list of PublicHolidays

Post by mrbdrm »

rob_h7 wrote:found this in the UserGuide - pg 446 - 447

The following table lists and explains the property settings of the BASServer.props file that are used to initialize the Aware IM Server:

PublicHolidays - A collection of days identifying public holidays in the country or state of operation. This information is used by BUSINESS_DAY_FORWARD and BUSINESS_DAY_BACK functions of the Rule Language (see “Aware IM Rule Language Reference”). The days must be in the format “dd/MM/yyyy” and must be separated by comma, for example:
25/12/2004,26/12/2004,… If this propery is not specified BUSINESS_DAY_FORWARD and BUSINESS_DAY_BACK functions will only consider weekends as non-working days.
Thank you that was really helpful.

is there a way to change the weekends? our weekends are not Saturday and Sunday
rob_h7
Posts: 85
Joined: Mon Jan 25, 2010 3:52 am

Re: The list of PublicHolidays

Post by rob_h7 »

Not sure about that one, support will need to jump in & answer that.
Rob . Aware 8.4 (build 2718), Developer Edition, using Linux, MYSQL
Post Reply