better calories tracking
This commit is contained in:
@@ -11,17 +11,29 @@
|
||||
-----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "time.h"
|
||||
|
||||
|
||||
const int NUM_LAST_DAYS = 7;
|
||||
const int NUM_LAST_WEEKS = 52;
|
||||
const int DAYS_IN_YEAR = 365;
|
||||
const int HOURS_IN_DAY = 24;
|
||||
const int DAYS_IN_WEEK = 7;
|
||||
const int MONTHS_IN_YEAR = 12;
|
||||
|
||||
CString DayInYearToString( int iDayInYearIndex );
|
||||
CString LastDayToString( int iLastDayIndex );
|
||||
CString DayOfWeekToString( int iDayOfWeekIndex );
|
||||
CString HourInDayToString( int iHourIndex );
|
||||
CString MonthToString( int iMonthIndex );
|
||||
CString LastWeekToString( int iLastWeekIndex );
|
||||
|
||||
tm AddDays( tm start, int iDaysToMove );
|
||||
tm GetYesterday( tm start );
|
||||
int GetDayOfWeek( tm time );
|
||||
tm GetNextSunday( tm start );
|
||||
|
||||
tm GetDayInYearAndYear( int iDayInYearIndex, int iYear );
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user