windows-nt/Source/XPSP1/NT/shell/comctl32/v5/scdttime.h

21 lines
838 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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);