Scilab Function
Last update : 31/10/2005
feiertag - calculation of celebration
days
Calling Sequence
-
[FEIERTAGNAME,Qfeier] =
feiertag(j,bdg,kath)
Parameters
-
j
: The year, for which celebration days are calculated
-
bdg
: string determing the german countries. Following abbreviations
are valid. 'BAY' = Bayern, 'BRB' = Brandenburg, 'BAW' =
Baden-Württemberg, 'HES' = Hessen (Default), 'MVP' =
Mecklenburg-Vorpommern, 'NRW' = Nordrhein-Westfalen, 'RPF' =
Rheinland-Pfalz, 'SAC' = Sachsen, 'SAA' = Sachsen-Anhalt, 'SAR' =
Saarland, 'THÜ' = Thüringen.
-
kath
: 0 for non-catholic regions, 1 for catholic regions.
-
FEIERTAGNAME
: string-array with names of celebration days (in german,
sorry)
-
Qfeier
: matrix with three columns [day, month, year]. The rows of this
matrix and the string array FEIERTAGNAME are belonging
together.
Description
-
This function is very powerful. It shows very clearly, how the
celebration days are calculated. Many celebration days are dependent
on eastern, others are fixed dates.
-
The function has been converted from an old excel macro from the
time, when people had used Windows 3.1 [may be, it was before your
times ;-) ]
Examples
[ft1,dt1]=feiertag(2006,'HES',0);
disp(ft1);
disp(ft2);
See Also
ostern
,
date2day
,
Authors
-
Dr. Andreas Geissler geisslea@web.de