?? commoncal.h
字號:
// CommonCal.h: interface for the CommonCal class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_COMMONCAL_H__CE3E69F5_4D0B_4D61_A351_356C7940D5C8__INCLUDED_)
#define AFX_COMMONCAL_H__CE3E69F5_4D0B_4D61_A351_356C7940D5C8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "afx.h"
class CommonCal
{
public:
double m_dblInputVal;
CString m_strOutputVal;
int m_intInputDot;
int m_intKeepInt;
int m_intKeepDot;
bool RainValProc();
bool WaterValProc();
CString FlowValProc(double);
//struct tm DateValProc(CString);
CString TimeToStr(struct tm);
struct tm StrToTime(CString);
int TimeCompare(struct tm,struct tm);
bool TimeAddSpan(struct tm *,int,int,int,int,int,int);
bool TimeSubSpan(struct tm *,int,int,int,int,int,int);
bool IsLeapYear(struct tm *);
int GetMonthEndDay(struct tm *);
public:
//char strInDate[14];
//char strOutDate[5];
CString m_strInputTime;
CString m_strOutputTime;
int m_intDay;
int m_intMonth;
int m_intHour;
int m_intMinute;
float m_fltTime;
float m_fltInterval;
bool TimeValProc();
public:
//int intStartTime;
//int intEndTime;
//int intInterval;
//bool IntervalCalProc();
public:
CommonCal();
virtual ~CommonCal();
};
#endif // !defined(AFX_COMMONCAL_H__CE3E69F5_4D0B_4D61_A351_356C7940D5C8__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -