From 34693fcef4f84703ea7d2aeb28dbce769e01c378 Mon Sep 17 00:00:00 2001 From: JJ Brosnan <84038776+jjbrosnan@users.noreply.github.com> Date: Thu, 15 Feb 2024 13:42:59 -0500 Subject: [PATCH 1/2] Update name and just call it a test calendar --- Calendar/README.md | 6 +++--- .../{CompanyY_2024.calendar => TestCalendar_2024.calendar} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename Calendar/{CompanyY_2024.calendar => TestCalendar_2024.calendar} (100%) diff --git a/Calendar/README.md b/Calendar/README.md index 7e9a3f0..013e727 100644 --- a/Calendar/README.md +++ b/Calendar/README.md @@ -4,7 +4,7 @@ This folder contains a calendar file in XML format. ## Table of contents -`CompanyY_2024.calendar`: A calendar file for a hypothetical company, `Company Y`, in XML format. +`TestCalendar_2024.calendar`: A calendar file for a hypothetical company, `A Company Named Company`, in XML format. ## Calendar file @@ -17,9 +17,9 @@ Here's an example that uses the calendar. It assumes you've copied this file to ```python from deephaven.calendar import add_calendar, calendar, calendar_names -add_calendar("/data/examples/Calendar/CompanyY_2024.calendar") +add_calendar("/data/examples/Calendar/TestCalendar_2024.calendar") print(calendar_names()) -company_y_cal_2024 = calendar("CompanyY_2024") +test_company_cal_2024 = calendar("TestCalendar_2024") ``` diff --git a/Calendar/CompanyY_2024.calendar b/Calendar/TestCalendar_2024.calendar similarity index 100% rename from Calendar/CompanyY_2024.calendar rename to Calendar/TestCalendar_2024.calendar From 22ab801940ce3ab1cc87e02c2b4f7ab0fe49b3d3 Mon Sep 17 00:00:00 2001 From: JJ Brosnan <84038776+jjbrosnan@users.noreply.github.com> Date: Thu, 15 Feb 2024 13:49:31 -0500 Subject: [PATCH 2/2] Remove ref to company y or any company name --- Calendar/README.md | 2 +- Calendar/TestCalendar_2024.calendar | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Calendar/README.md b/Calendar/README.md index 013e727..acbdf3b 100644 --- a/Calendar/README.md +++ b/Calendar/README.md @@ -4,7 +4,7 @@ This folder contains a calendar file in XML format. ## Table of contents -`TestCalendar_2024.calendar`: A calendar file for a hypothetical company, `A Company Named Company`, in XML format. +`TestCalendar_2024.calendar`: A test calendar XML file. ## Calendar file diff --git a/Calendar/TestCalendar_2024.calendar b/Calendar/TestCalendar_2024.calendar index 9ce315b..a501d3c 100644 --- a/Calendar/TestCalendar_2024.calendar +++ b/Calendar/TestCalendar_2024.calendar @@ -1,13 +1,13 @@ - CompanyY_2024 + TestCalendar_2024 America/New_York en US 2024-01-01 2024-12-31 - Company Y calendar for the year 2024. - Company Y uses two business periods instead of one. + Test calendar for the year 2024. + This calendar uses two business periods instead of one. The periods are separated by a one hour lunch break. This calendar file defines standard business hours, weekends, and holidays.