From 221403e3a0ce329342ad5fb2f5b9a6c5b7ecf7a7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 17 Jun 2020 14:04:14 +0100 Subject: [PATCH] Bug 25723: (QA follow-up) Silent POD warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I didn't introduce the method that is warned about, but adding POD for it seemed reasonable and will silence the QA Script warning. Signed-off-by: Emma Perks Signed-off-by: Nick Clemens Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart (cherry picked from commit 5851539424d04eda0da52ef8744925227dd6ce0f) Signed-off-by: Lucas Gass --- Koha/Calendar.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Koha/Calendar.pm b/Koha/Calendar.pm index e0d512ab80..85edf9cf59 100644 --- a/Koha/Calendar.pm +++ b/Koha/Calendar.pm @@ -479,6 +479,15 @@ representing the previous open day after subtracting the number of passed days. It is intended for use to calculate the due date when useDaysMode syspref is set to either 'Datedue', 'Calendar' or 'Dayweek'. +=head2 days_forward + +$datetime = $calendar->days_forward($start_dt, $to_add) + +Passed a Datetime and number of days, returns another Datetime representing +the next open day after adding the passed number of days. It is intended for +use to calculate the due date when useDaysMode syspref is set to either +'Datedue', 'Calendar' or 'Dayweek'. + =head2 set_daysmode For testing only allows the calling script to change days mode -- 2.39.5