X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=src%2FDate.hh;h=f51f28f652bce501e9859b3653e0971627141f9f;hb=6dea0b59503a71874c4476c05044fff3c5ae26a5;hp=2d6fd757723a92d200b61a124383e0e04ba6fc7a;hpb=c4d8504b99fa1e354d15b2b91e4e2797f54ba028;p=lib1wire.git diff --git a/src/Date.hh b/src/Date.hh index 2d6fd75..f51f28f 100644 --- a/src/Date.hh +++ b/src/Date.hh @@ -31,15 +31,15 @@ namespace plp { void copy(Date *date); bool before(Date date2); bool equals(Date date2); - std::string to_string(); - int year; int month; int day; int hour; int min; int sec; - private: + std::string to_string(); + protected: + std::string to_sortable_string(); //static const int arr_days_per_month[]; }; }