summaryrefslogtreecommitdiff
path: root/src/local_time.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-01 21:22:44 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-13 21:57:52 +0100
commit9e63c37ed41d2eb4fd321cf29ac6c682423f2bb6 (patch)
tree6f3b9cebde30264f14f9aaa7e68f6d9a2f36b2be /src/local_time.h
parent0ece82d184b618a8314bc07d4a447f856847104f (diff)
Add LocalTime::add().
Diffstat (limited to 'src/local_time.h')
-rw-r--r--src/local_time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/local_time.h b/src/local_time.h
index aacd7728..d2f4b2c5 100644
--- a/src/local_time.h
+++ b/src/local_time.h
@@ -121,6 +121,8 @@ public:
void add_months (int a);
void add_minutes (int a);
+ void add(boost::posix_time::time_duration duration);
+
static LocalTime from_asn1_utc_time (std::string time);
static LocalTime from_asn1_generalized_time (std::string time);