Skip to content

Releases: cagrihanakca/date

v1.0.0

06 Apr 20:37
bd64c8c

Choose a tag to compare

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