From ca487a18e0d4ad2e9284079d395f4e301215894d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= Date: Wed, 8 Apr 2026 15:37:35 -0300 Subject: [PATCH] Bug 42310: (follow-up) Add missing POD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás Cohen Arazi Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Tomás Cohen Arazi Signed-off-by: Pedro Amorim --- Koha/Calendar.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm index 4ee16dce20..64a4d23406 100644 --- a/Koha/Calendar.pm +++ b/Koha/Calendar.pm @@ -601,6 +601,19 @@ Passed a datetime object this will add it to the calendar's list of closed days. This is for testing so that we can alter the Calenfar object's list of specified dates +=head2 Internal methods + +=head3 _init + +Loads weekly closed days and repeating annual closures from the database +into the object's internal data structures. + +=head3 _holidays + +Returns a hashref of single closures and exceptions keyed by YYYYMMDD. +Values are 1 for closures and 0 for exceptions (open overrides). +Results are cached in memcache. + =head1 DIAGNOSTICS Will croak if not passed a branchcode in new