The function determines whether a given date is a public holiday.
All public holidays in Germany are taken into account.
Holidays that are NOT uniform nationwide can be switched on or off
LGF_IsGermanHoliday (FC) | ||||||||
---|---|---|---|---|---|---|---|---|
DTL | date | Ret_Val | Bool | |||||
Bool | threeKings | |||||||
Bool | roseMonday | |||||||
Bool | ascension | |||||||
Bool | corpusChristi | |||||||
Bool | augsburgerFriedensfest | |||||||
Bool | assumptionOfMary | |||||||
Bool | reformationDay | |||||||
Bool | allSaintDay | |||||||
Bool | bussUndBettag | |||||||
Identifier | Data type | Description |
---|---|---|
date | DTL | Date, which has to be evaluated |
threeKings | Bool | Three Kings |
roseMonday | Bool | Rose Monday |
ascension | Bool | Ascension |
corpusChristi | Bool | Corpus Christi |
augsburgerFriedensfest | Bool | Augsburger Friedensfest |
assumptionOfMary | Bool | Assumption Of Mary |
reformationDay | Bool | Reformation Day |
allSaintDay | Bool | All Saint Day |
bussUndBettag | Bool | Day of Prayer and Repentance (Buss und Bettag) |
Identifier | Data type | Description |
---|---|---|
Ret_Val | Bool | If the date at the input parameter is a public holiday - returning TRUE, otherwise returning FALSE |
The block calculates the public holiday calendar of the year for a given date and displays whether the given date is a public holiday.
Optionally, holidays that are not uniform nationwide, such as Epiphany (Three Kings), can be taken into account via the appropriate input parameters in the block.
Version & Date | Change description | |
---|---|---|
01.00.00 | Siemens Industry Online Support | |
03.07.2018 | First released version | |
01.00.01 | Siemens Industry Online Support | |
17.08.2018 | Upgrade: TIA V15 Update 2 | |
01.00.02 | Siemens Industry Online Support | |
23.11.2018 | Upgrade: TIA V15.1 | |
01.00.03 | Simatic Systems Support | |
17.07.2019 | Standard header, comments, style updated refactoring code | |
03.00.00 | Simatic Systems Support | |
23.04.2020 | Set version to V3.0.0, harmonize the version of the whole library | |
03.00.01 | Simatic Systems Support | |
19.01.2020 | fix bug in Constant "DAYS_AFTER_EASTER_60" from 6 to 60 Insert documentation |