Files
syn-chat-bot/.venv/lib/python3.9/site-packages/recurring_ical_events/constants.py
Hyungi Ahn c2257d3a86 fix: 포트 충돌 회피 — note_bridge 8098, intent_service 8099
Jellyfin(8096), OrbStack(8097) 포트 충돌으로 변경.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 13:53:55 +09:00

30 lines
668 B
Python

"""Constants for recurring_ical_events."""
import datetime
import re
from pathlib import Path
# The minimum value accepted as date (pytz + zoneinfo)
DATE_MIN = (1970, 1, 1)
DATE_MIN_DT = datetime.date(*DATE_MIN)
# The maximum value accepted as date (pytz + zoneinfo)
DATE_MAX = (2038, 1, 1)
DATE_MAX_DT = datetime.date(*DATE_MAX)
# the location of this file
HERE = Path(__file__).parent
# the directory with all example calendars
CALENDARS = HERE / "test" / "calendars"
NEGATIVE_RRULE_COUNT_REGEX = re.compile(r"COUNT=-\d+;?")
__all__ = [
"CALENDARS",
"DATE_MAX",
"DATE_MAX_DT",
"DATE_MIN",
"DATE_MIN_DT",
"NEGATIVE_RRULE_COUNT_REGEX",
]