How ixc/python-edtf works
Component Relationships
• Input String → Parser → EDTFObject Instances
• ↑
• Natural Language Text → NL Parser
• EDTFObject → Conversion Utils → Python date/struct_time
• Django Models → EDTF Field → Database
• ↓
• Parser/Converter
• EDTFObject
• Level 0 (Date, DateAndTime, Interval)
• Level 1 (UncertainOrApproximate, Unspecified, etc.)
• Level 2 (PartialUncertainOrApproximate, etc.)
Important Implementation Details
Use callouts or notes to highlight:
• Support for different EDTF levels (0, 1, 2)
• Date range handling (strict vs. fuzzy)
• Natural language processing capabilities
• Julian Date conversion for database storage
Integration Points
External interfaces:
• Django ORM integration
• Python datetime compatibility
• Natural language input/output