[ephemeris] isBankHoliday(offset, filename) now really uses the filename (#1375)
Closes: #1374 Signed-off-by: Roland Rosenfeld <roland@debian.org>pull/1378/head
parent
1cb17e1a7d
commit
730a8e1e61
|
@ -77,7 +77,7 @@ public class Ephemeris {
|
||||||
|
|
||||||
@ActionDoc(text = "checks if today plus or minus a given offset is bank holiday from a given userfile")
|
@ActionDoc(text = "checks if today plus or minus a given offset is bank holiday from a given userfile")
|
||||||
public static boolean isBankHoliday(int offset, String filename) {
|
public static boolean isBankHoliday(int offset, String filename) {
|
||||||
return isBankHoliday(ZonedDateTime.now().plusDays(offset));
|
return isBankHoliday(ZonedDateTime.now().plusDays(offset), filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ActionDoc(text = "checks a given day is bank holiday from a given userfile")
|
@ActionDoc(text = "checks a given day is bank holiday from a given userfile")
|
||||||
|
|
Loading…
Reference in New Issue