| 1234567891011121314151617181920212223242526272829303132 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* Date.hpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2026/01/16 18:06:10 by bchanot #+# #+# */
- /* Updated: 2026/01/16 19:29:02 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #ifndef DATE_HPP
- # define DATE_HPP
- # include <iostream>
- # include <string>
- struct Date {
- int year;
- int month;
- int day;
-
- };
- bool operator<(const Date &a, const Date &b);
- bool operator==(const Date &a, const Date &b);
- bool operator!=(const Date &a, const Date &b);
- std::ostream &operator<<(std::ostream &o, const Date &date);
- #endif /* ************************************************************ DATE_H */
|