time_s.hpp 330 B

1234567891011
  1. #ifndef AFUN_TIME_H
  2. #define AFUN_TIME_H
  3. #include "aFunToolExport.h"
  4. /* 时间工具 */
  5. namespace aFuntool {
  6. AFUN_TOOL_EXPORT void safeSleep(double ms);
  7. AFUN_TOOL_EXPORT char *getTime(time_t *t, const char *format);
  8. AFUN_TOOL_EXPORT std::string getTime(time_t *t, const std::string &format);
  9. }
  10. #endif //AFUN_TIME_H