Releases: cagrihanakca/date
Releases · cagrihanakca/date
v1.0.0
Inital release of cgr::Date — a simple C++20 date library.
Features
- Date construction from day/month/year, string and epoch time
- Getters (day, month, year, day of year, weekday, ISO week)
- Setter chaining
- Arithmetic operations (add, subtract, increment, decrement)
- Comparison operators
- Stream extraction and insertion
- Leap year query
- Random date generation
- Exception-based error handling with reason codes