⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cstytime.h

📁 特别好玩有启发的东西
💻 H
字号:

#ifndef AFX_CSTYTIME_H__E17D0B8C_16DB_4008_ABFF_1FAE2CE4D270__INCLUDED_
#define AFX_CSTYTIME_H__E17D0B8C_16DB_4008_ABFF_1FAE2CE4D270__INCLUDED_

#include <string>
#include <bitset>
using namespace std;

//filter the time of net-user.
struct CStyTime
{
	std::bitset<24*7>  tTime;//week-day-hour
	bool	IsHere (const struct tm & t) const;
	bool	IsHere (const int hour, const int minute) const;
	void	Clear ();
	void	SetHour (const int hour, bool value);
	int  SetTimeSeg(std::string strTime);
};
#endif //AFX_CSTYTIME_H__E17D0B8C_16DB_4008_ABFF_1FAE2CE4D270__INCLUDED_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -