Commit b826fd71 authored by Max Kellermann's avatar Max Kellermann

time/Convert: mention exceptions

parent ae35df11
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment