]> pilppa.org Git - lib1wire.git/blobdiff - src/Date.hh
Refactoring and fixes.
[lib1wire.git] / src / Date.hh
index 2d6fd757723a92d200b61a124383e0e04ba6fc7a..f51f28f652bce501e9859b3653e0971627141f9f 100644 (file)
@@ -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[];
        };
 }