Files
dcapp/datacenter/inc/ToolUtils.h
T
zgj d2a4f96d21 1、调整线程池代码
2、增加数据中心版本头文件,调整数据中心宏定义名称
3、增加数据中心上线流程
4、增加uuid获取接口
2025-03-10 16:52:14 +08:00

20 lines
526 B
C++

//
// Created by zgj on 2024/4/29.
//
#ifndef METERMQTT_TOOLUTILS_H
#define METERMQTT_TOOLUTILS_H
#include <string>
namespace ToolUtils{
std::string getTimeString(bool isLocalTime);
std::string getUtcTimeString(bool isLocalTime);
std::string getTimeStringWithFomat(bool isLocalTime);
uint64_t getUtcTime(bool isLocalTime);
bool isCSTZone();
bool subString(std::string srcStr, std::string subStr,std::string &resultStr);
std::string genUUID();
}
#endif //METERMQTT_TOOLUTILS_H