diff options
author | Hop311 <hop3114@gmail.com> | 2023-04-18 19:49:37 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-04-18 19:49:37 +0200 |
commit | 1fdd198f943a41468b03b2cdc62c24147f707239 (patch) | |
tree | f53bdaad16e077957c7410a54f8638868d3f2351 /extension/src/openvic2/Date.hpp | |
parent | f168c91ff266beda8066014257a30d93704882ee (diff) |
Better province image + terrain + some buttons
Diffstat (limited to 'extension/src/openvic2/Date.hpp')
-rw-r--r-- | extension/src/openvic2/Date.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/openvic2/Date.hpp b/extension/src/openvic2/Date.hpp index 841b118..9ed5963 100644 --- a/extension/src/openvic2/Date.hpp +++ b/extension/src/openvic2/Date.hpp @@ -28,6 +28,9 @@ namespace OpenVic2 { Timespan& operator+= (Timespan const& other); Timespan& operator-= (Timespan const& other); + + explicit operator std::string() const; + friend std::ostream& operator<< (std::ostream& out, Timespan const& timespan); }; static constexpr size_t MONTHS_IN_YEAR = 12; |