Ephemeris: How to create a day relative to easter sunday?

  • Platform information:
    • Hardware: virtual machine
    • OS: Ubuntu20.04
    • Java Runtime Environment: Zulu11
    • openHAB version: 3.3.0

Hi
At ephemeris, I want to add the day after ASCENSION_DAY as bank holyday.
So I added following line to Holydays_de.xml (located at etc/openhab/services):

<tns:RelativeToEasterSunday day="40" descriptionPropertiesKey="Brückentag" />

After editing this file, I restarted openHab.
In a test rule I check, if this day exists:

    logInfo ("Ephemeris_Rule_05_19", Ephemeris.getBankHolidayName (new DateTimeType().parse ("2023-05-19T01:00:00"), "/etc/openhab/services/Holidays_de.xml"))

In openhab.log I see:

[INFO ] [re.model.script.Ephemeris_Rule_05_19] - null

Other days (using tns:Fixed with special day and month) will be recodnized correctly:

<tns:Fixed month="DECEMBER" day="23" descriptionPropertiesKey="Betriebsurlaub" />

[INFO ] [re.model.script.Ephemeris_Rule_12_23] - Betriebsurlaub

Can anyone help me?

I have found the error:
The syntax in Holydays_de.xml is different. Here is the correct form:

<tns:RelativeToEasterSunday descriptionPropertiesKey="Brückentag">
    <tns:days>40</tns:days>
</tns:RelativeToEasterSunday>