mirror of https://github.com/lianthony/NT4.0
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
772 B
20 lines
772 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(SYSTEMTIME *pst, int dowFirst, int woyFirst);
|
|
int CmpDate(SYSTEMTIME *pst1, SYSTEMTIME *pst2);
|
|
int CmpSystemtime(SYSTEMTIME *pst1, 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(SYSTEMTIME *pstStart, SYSTEMTIME *pstEnd);
|
|
int DowFromDate(SYSTEMTIME *pst);
|
|
|
|
BOOL IsValidDate(SYSTEMTIME *pst);
|
|
BOOL IsValidTime(SYSTEMTIME *pst);
|
|
BOOL IsValidSystemtime(SYSTEMTIME *pst);
|