Add conversion from scenario_time to std::string.

This commit is contained in:
Kamil Lewan
2018-07-22 16:46:54 +02:00
parent 9c5e80ceeb
commit ed359d3b4e
3 changed files with 11 additions and 5 deletions

View File

@@ -9,6 +9,8 @@ http://mozilla.org/MPL/2.0/.
#pragma once
#include <string>
#include "winheaders.h"
// wrapper for scenario time
@@ -47,6 +49,8 @@ public:
zone_bias() const {
return m_timezonebias; }
/** Returns std::string in format: `"mm:ss"`. */
operator std::string();
private:
// calculates day and month from given day of year
void