gatetime.h
来自「此程序适用于电力系统中的网关程序」· C头文件 代码 · 共 40 行
H
40 行
/******************************************************************
* Copyright (c) 2004-2005, 许继日立公司
* All rights reserved.
*
* 文件名称:gatetime.h
* 文件标识:
* 摘 要:时间计算类
*
* 当前版本:1.0
* 作 者:李龙伟 <lilongwei1@hotmail.com>
* 完成日期:2004年12月24日
*
* 取代版本:1.0
* 原作者 :李龙伟
* 完成日期:2004年12月24日
******************************************************************/
#ifndef _PANSTIME_H
#define _PANSTIME_H
#include <windows.h>
#include <time.h>
class PansTime
{
public :
PansTime();
~PansTime();
//取当前时间
bool GetCurTime(SYSTEMTIME *systime);
//日期增加
bool DateAdd(SYSTEMTIME *systime, int ida);
//秒增加
void TimeAdd(SYSTEMTIME *systime, int iSec);
private:
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?