aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/time.h')
-rw-r--r--src/utils/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/time.h b/src/utils/time.h
index 28b777efe..bd1c8fb06 100644
--- a/src/utils/time.h
+++ b/src/utils/time.h
@@ -29,6 +29,10 @@ struct BOTAN_DLL calendar_point
year(y), month(mon), day(d), hour(h), minutes(min), seconds(sec) {}
};
+/*
+* @param time_point a time point from the system clock
+* @returns calendar_point object representing this time point
+*/
BOTAN_DLL calendar_point calendar_value(
const std::chrono::system_clock::time_point& time_point);