summaryrefslogtreecommitdiff
path: root/src/time/Convert.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-05-08 16:14:12 +0200
committerMax Kellermann <max@musicpd.org>2019-12-16 23:02:57 +0100
commitb826fd71f05bd56796c83cb19ac351e462e77251 (patch)
tree9256f6ed87a342388ac194b1a9f1d9bbd725efd6 /src/time/Convert.hxx
parentae35df1126198d5d20bbd3c3a37c731bf5d3b388 (diff)
time/Convert: mention exceptions
Diffstat (limited to 'src/time/Convert.hxx')
-rw-r--r--src/time/Convert.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/time/Convert.hxx b/src/time/Convert.hxx
index 558bd2e37..835d804a1 100644
--- a/src/time/Convert.hxx
+++ b/src/time/Convert.hxx
@@ -39,12 +39,16 @@
/**
* Convert a UTC-based time point to a UTC-based "struct tm".
+ *
+ * Throws on error.
*/
struct tm
GmTime(std::chrono::system_clock::time_point tp);
/**
* Convert a UTC-based time point to a local "struct tm".
+ *
+ * Throws on error.
*/
struct tm
LocalTime(std::chrono::system_clock::time_point tp);