date.h

来自「有计算机图形学、图像处理、dbms、sniffer、中游俄罗斯外挂、othell」· C头文件 代码 · 共 37 行

H
37
字号
// Date.h: interface for the Date class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DATE_H__B6A39C05_332F_4214_9A5C_C2F4768DA0E5__INCLUDED_)
#define AFX_DATE_H__B6A39C05_332F_4214_9A5C_C2F4768DA0E5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class Date  
{
public:
    WORD tag;
	WORD year;
	WORD month;
	WORD day;
public:
	Date(const Date &date);
	Date();
	Date(WORD y,WORD m,WORD d,WORD t=1);
	Date(CString);
	//Date(const char *);
    bool operator <(const Date &);
	bool operator <=(const Date &);
	bool operator >(const Date &);
	bool operator >=(const Date &);
	bool operator ==(const Date &);
	int operator -(const Date &);
	CString DateToCString();
    virtual ~Date();

};

#endif // !defined(AFX_DATE_H__B6A39C05_332F_4214_9A5C_C2F4768DA0E5__INCLUDED_)

⌨️ 快捷键说明

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