You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
858 B
20 lines
858 B
#define INCRSYS_YEAR 0x0001
|
|
#define INCRSYS_MONTH 0x0002
|
|
#define INCRSYS_WEEK 0x0004
|
|
#define INCRSYS_DAY 0x0008
|
|
#define INCRSYS_HOUR 0x0010
|
|
#define INCRSYS_MINUTE 0x0020
|
|
#define INCRSYS_SECOND 0x0040
|
|
|
|
int GetWeekNumber(const SYSTEMTIME *pst, int dowFirst, int woyFirst);
|
|
int CmpDate(const SYSTEMTIME *pst1, const SYSTEMTIME *pst2);
|
|
int CmpSystemtime(const SYSTEMTIME *pst1, const SYSTEMTIME *pst2);
|
|
void IncrSystemTime(SYSTEMTIME *pstSrc, SYSTEMTIME *pstDest, LONG delta, LONG flags);
|
|
int GetDaysForMonth(int year, int month);
|
|
int GetStartDowForMonth(int year, int month);
|
|
DWORD DaysBetweenDates(const SYSTEMTIME *pstStart, const SYSTEMTIME *pstEnd);
|
|
int DowFromDate(const SYSTEMTIME *pst);
|
|
|
|
BOOL IsValidDate(const SYSTEMTIME *pst);
|
|
BOOL IsValidTime(const SYSTEMTIME *pst);
|
|
BOOL IsValidSystemtime(const SYSTEMTIME *pst);
|