.. include:: /Includes.rst.txt .. _feature-1792990682: ================================================ Feature: Import school holidays from an ICS file ================================================ Description =========== HR imports the school holidays of an apprentice from an iCalendar file the school provides, in two steps. ``previewSchoolCalendarImport`` saves nothing and lists what applying the file would do: every all-day event is a school-free period, and each line is new, changed, unchanged or missing; events with times are ignored and counted. ``importSchoolCalendar`` applies the previewed lines, except those left out. Importing the same file again changes nothing, a holiday the school moves updates its period, a holiday that has dropped out of the file stays, and periods entered by hand are never touched. Impact ====== Two new operations of the apprenticeship package, which now requires ``sabre/vobject``. The screen offers no dialog for them yet. .. index:: API, package:adsum-apprenticeship