|
|
|
|
|
BankHolidayAdd (Function) In french: JourFériéAjoute
BankHolidayDeleteAll()
BankHolidayAdd("0101")
BankHolidayAdd(bhEasterMonday)
BankHolidayAdd("0501")
BankHolidayAdd("0508")
BankHolidayAdd(bhAscensionDay)
BankHolidayAdd(bhWhitMonday)
BankHolidayAdd("0714")
BankHolidayAdd("0815")
BankHolidayAdd("1101")
BankHolidayAdd("1111")
BankHolidayAdd("1225")
BankHolidayAdd("1226" + CR + bhGoodFriday)
Syntax
BankHolidayAdd(<New public holidays>)
<New public holidays>: Character string or Character String constant Can correspond to:- A 4-digit date (in MMDD format) to define a fixed public holiday (e.g., "1225" for Christmas).
- An 8-digit date (in YYYYMMDD format) to define a public holiday for a specific year (e.g., "20080808" for August 8th, 2008).
- A date in the following format: <Month>_<Week number>_<Week day number>. For example: 11_2_3 for the 2nd Wednesday in November.
- One of the following constants:
| | bhAscensionDay | Ascension day. Note: The corresponding date is Easter + 39 days.. | bhEasterDay | Easter Sunday.Note: The corresponding date can be obtained with the Easter function.. | bhEasterMonday | Easter Monday. Note: The corresponding date is Easter + 1 day. | bhGoodFriday | Good friday. Note: The corresponding date is Easter Day - 2 days. | bhWhitMonday | Whit Monday. Note: The corresponding date is Easter + 50 days.. |
- a combination of the above-mentioned possibilities. The days found in this list must be separated by a CR character (carriage return).
Remarks - This function is used to customize the application according to the country and/or to the local regulations.
- This function has a global effect and must be used at the beginning of the application.
- BankHolidayAdd can be used after the call to BankHoliday.
Related Examples:
|
Unit examples (WINDEV): The Calendar control
[ + ] Four methods for using the Calendar control: - Using the Calendar control found in the WINDEV toolbar - Using CalendarOpen and CalendarPicker as well as CalendarSelect (multi-selection) - Using ..CalendarButton - Using BankHolidayAdd
|
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|