country_holiday 0.0.2
country_holiday: ^0.0.2 copied to clipboard
A Dart library for accessing holiday data from Google Calendar's public holiday calendars with clean architecture.
0.0.1 - 2025-12-16 #
Initial Release #
Features
- 🌍 Global Coverage: Support for 100+ countries worldwide across all continents
- 📅 Get Holidays by Country: Query holidays for any supported country with optional year parameter
- 📆 Get Holidays by Month: Query holidays for specific month and year
- 🗓️ Get Holidays by Date: Get holidays on a specific date
- ✅ Check if Holiday: Verify if a specific date is a holiday
- 🌎 Get All Countries: Retrieve list of all 100+ supported countries
Technical Features
- Integration with Google Calendar API v3
- Clean Architecture implementation (Domain, Data, Use Cases layers)
- Custom exception hierarchy for better error handling
- Structured logging system with configurable levels
- Automatic deduplication of duplicate holidays from API
- Environment variable support via .env files
- Full null safety support
- Comprehensive documentation
Documentation
- Complete README with examples
- API reference documentation
- Testing guide (TESTING_GUIDE.md)
- Contributing guide (CONTRIBUTING.md)
- Environment setup guide (ENV_SETUP.md)