time/Convert: mention exceptions
This commit is contained in:
parent
ae35df1126
commit
b826fd71f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user