From b71c51db5bf6434cd26949937200ea793abfda55 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Fri, 12 Jan 2024 14:47:39 -0800 Subject: [PATCH] Make BusinessCalendar and BusinessCalendarXMLParser public --- .../main/java/io/deephaven/time/calendar/BusinessCalendar.java | 2 +- .../io/deephaven/time/calendar/BusinessCalendarXMLParser.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java index 539c2b1b681..c68543e832a 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendar.java @@ -147,7 +147,7 @@ private YearData getYearData(final int year) { * is different from the schedule for a standard business day or weekend. * @throws RequirementFailure if any argument is null. */ - BusinessCalendar(final String name, final String description, final ZoneId timeZone, + public BusinessCalendar(final String name, final String description, final ZoneId timeZone, final LocalDate firstValidDate, final LocalDate lastValidDate, final CalendarDay standardBusinessDay, final Set weekendDays, final Map> holidays) { diff --git a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java index fffd9c8db04..3b975e021c3 100644 --- a/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java +++ b/engine/time/src/main/java/io/deephaven/time/calendar/BusinessCalendarXMLParser.java @@ -27,6 +27,7 @@ /** * A parser for reading business calendar XML files. * + *

* Business calendar XML files should be formatted as: * *

@@ -56,7 +57,7 @@
  * }
  * 
*/ -class BusinessCalendarXMLParser { +public final class BusinessCalendarXMLParser { private static class BusinessCalendarInputs { private String calendarName;