Stivvo / date-class-C-

slim date class in C++ with date validation, operators > < >= <= == != between dates, input and output functions, current date

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

date-class-C-

slim date class in C++ with date validation, operators > >= < <= == != = between dates, input and output functions, current date. methods are documented in the date.hpp file

time.h and chrono libraries are required

to use this class, copy date.hpp and date.cpp in your project's folder and include date.hpp

the main.cpp has been made to test the date class and show how to use it. To run the main.cpp on linux: (cmake is required) cmake . make

About

slim date class in C++ with date validation, operators > < >= <= == != between dates, input and output functions, current date


Languages

Language:C++ 98.4%Language:CMake 1.6%