diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-03-05 13:44:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-03-05 13:44:36 +0000 |
| commit | c8938a37429c914b77663328b6cff881be608775 (patch) | |
| tree | f3fef00fd60fab1b9c8dc99b3d5fdc9ee725b36b /src/local_time.h | |
| parent | 5bb20f440b2ce3f6410cf9107029b048b625e89f (diff) | |
Add new LocalTime constructor.
Diffstat (limited to 'src/local_time.h')
| -rw-r--r-- | src/local_time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h index 4a7f3cd8..ac849574 100644 --- a/src/local_time.h +++ b/src/local_time.h @@ -45,6 +45,7 @@ class LocalTime public: LocalTime (); LocalTime (boost::posix_time::ptime); + LocalTime (boost::posix_time::ptime, int tz_hour, int tz_minute); LocalTime (std::string); std::string as_string (bool with_millisecond = false) const; |
