Go to the source code of this file.
Namespaces | |
namespace | drizzled |
TODO: Rename this file - func.h is stupid. |
Functions | |
static const uint32_t * | drizzled::days_in_month (uint32_t y, enum calendar c) |
static const uint32_t * | drizzled::days_to_end_month (uint32_t y, enum calendar c) |
int64_t | drizzled::julian_day_number_from_gregorian_date (uint32_t year, uint32_t month, uint32_t day) |
int64_t | drizzled::absolute_day_number_to_julian_day_number (int64_t absolute_day) |
int64_t | drizzled::julian_day_number_to_absolute_day_number (int64_t julian_day) |
void | drizzled::gregorian_date_from_julian_day_number (int64_t julian_day, uint32_t *year_out, uint32_t *month_out, uint32_t *day_out) |
void | drizzled::gregorian_date_from_absolute_day_number (int64_t absolute_day, uint32_t *year_out, uint32_t *month_out, uint32_t *day_out) |
uint32_t | drizzled::days_in_year (const uint32_t year, enum calendar calendar) |
uint32_t | drizzled::days_in_year_julian (const uint32_t year) |
uint32_t | drizzled::days_in_year_gregorian (const uint32_t year) |
uint32_t | drizzled::day_of_week (int64_t day_number, bool sunday_is_first_day_of_week) |
bool | drizzled::is_valid_gregorian_date (uint32_t year, uint32_t month, uint32_t day) |
uint32_t | drizzled::days_in_gregorian_year_month (uint32_t year, uint32_t month) |
bool | drizzled::in_unix_epoch_range (uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second) |
uint32_t | drizzled::week_number_from_gregorian_date (uint32_t year, uint32_t month, uint32_t day, bool sunday_is_first_day_of_week) |
uint32_t | drizzled::iso_week_number_from_gregorian_date (uint32_t year, uint32_t month, uint32_t day) |
uint32_t | drizzled::year_month_to_months (uint32_t year_month) |
uint32_t | drizzled::months_to_year_month (uint32_t months) |
Variables | |
static const uint32_t | drizzled::__leap_days_in_month [12] = {31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} |
static const uint32_t | drizzled::__normal_days_in_month [12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} |
static const uint32_t | drizzled::__leap_days_to_end_month [13] = {0, 31, 60, 91, 121, 151, 182, 213, 244, 274, 305, 335, 366} |
static const uint32_t | drizzled::__normal_days_to_end_month [13] = {0, 31, 59, 90, 120, 150, 181, 212, 243, 273, 304, 334, 365} |
Common functions for dealing with calendrical calculations
Definition in file calendar.cc.