clock.h

来自「Mysql的处理」· C头文件 代码 · 共 49 行

H
49
字号
#ifndef __CLOCK_H__#define __CLOCK_H__class C_Clock  {public:	C_Clock();	virtual ~C_Clock();	public:		char* Get(const char* sz, int nLength, bool bPlus, int hh2, int mi2);	private:		void IncMin( int min_inc );		void IncHour( int hour_inc );		void DecMin( int min_inc );		void DecHour( int hour_inc );				void IncDay( int day_inc );		void DecDay( int day_inc );				void IncMonth( int mon_inc =1 );		void DecMonth( int mon_inc = 1);				void IncYear( int year_inc );		void DecYear( int year_inc );				void IncSec( int sec_inc );		void DecSec( int sec_inc );				int isLeapYear() const;		int DivisibleUnits( int x, int y, int z ) const;		int LeapYearsBetween( int x, int y ) const;		int  GetDaysInMonth() const;		int GetDaysInMonth( int i ) const;			private:		int sec,minute,hour;		int mday,mon,year;				int _minute,_hour;		char m_nFormatString[20];};#endif

⌨️ 快捷键说明

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