Skip to content

Commit

Permalink
Update calendar data (#111)
Browse files Browse the repository at this point in the history
* Update name and just call it a test calendar

* Remove ref to company y or any company name
  • Loading branch information
jjbrosnan authored Feb 16, 2024
1 parent d2ff4f6 commit b1bf41c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Calendar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 test calendar XML file.

## Calendar file

Expand All @@ -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")
```
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<calendar>
<name>CompanyY_2024</name>
<name>TestCalendar_2024</name>
<timeZone>America/New_York</timeZone>
<language>en</language>
<country>US</country>
<firstValidDate>2024-01-01</firstValidDate>
<lastValidDate>2024-12-31</lastValidDate>
<description>
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.
</description>
Expand Down

0 comments on commit b1bf41c

Please sign in to comment.