CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
CCoreChronoFunction.h 文件参考

struct  time_stamp
 
struct  LunarDate
 
class  DateInfo
 日期类,包含中国农历历法1900到2099年 更多...
 

函数

UI_EXP void sleep_current_ms (uint32_t ms)
 当前线程sleep
 
UI_EXP void get_current_time_stamp (time_stamp *tm, bool is_utc=false, int timezone=0)
 获得时间撮
 

函数说明

◆ get_current_time_stamp()

UI_EXP void get_current_time_stamp ( time_stamp tm,
bool  is_utc = false,
int  timezone = 0 
)

获得时间撮

参数
tm输出参数。接收年月日时分秒信息
is_utcTRUE:表示获得UTC标准时间。FALSE:表示本地时间
timezone时区差

◆ sleep_current_ms()

UI_EXP void sleep_current_ms ( uint32_t  ms)

当前线程sleep

参数
ms毫秒时长
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有