Defines |
#define | MONTH_ENTRY(name, month) { #name , month }, |
Functions |
static const char * | get_month_display (IN int month) throw () |
static double | my_trunc (IN double x) throw () |
int | GetMonthFromString (IN const char *month) throw () |
void | getDisplayableDateFromNetTime (IN long time, OUT std::string &display) |
const char * | getDateString (IN long timestamp) |
void | getDateStringFromNetTime (IN long time, OUT std::string &display) |
static const char * | extractInteger (IN const char *s, IN char separator, OUT int &x, IN int min, IN int max, IN int digits_required) throw () |
static const char * | extractString (IN const char *s, IN char separator, IO char *buf, IN int size) throw () |
long | getNetTimeFromDateString (IN const char *s) throw () |
int | getWeekdayFromNetTime (IN long time) throw () |
const char * | GetWeekday (IN int weekday_index) throw () |
const char * | GetMonth (IN int month_index) throw () |
long | getDayBucket (IN long timestamp) throw () |
long | getWeekBucket (IN long timestamp) throw () |
long | getMonthBucket (IN long timestamp) throw () |
long | getYearBucket (IN long timestamp) throw () |
std::string | getDayBucketName (IN long day_bucket) |
std::string | getWeekBucketName (IN long week_bucket) |
std::string | getMonthBucketName (IN long month_bucket) |
std::string | getYearBucketName (IN long year_bucket) |
Variables |
static const long | s_secondsPerDay = 24 * 3600 |
static const long | s_secondsPerWeek = 7 * s_secondsPerDay |
static const long | s_firstSunday = 3 * s_secondsPerDay |
static const month_entry_t | s_Months [] |
static const char * | s_MonthsDisplay [] |
static const char * | s_Weekdays [] |