Eneboo - Documentación para desarrolladores
|
#include <my_time.h>
#include <m_string.h>
#include <m_ctype.h>
#include <my_pthread.h>
#define MAX_DATE_PARTS 8 |
my_bool check_date | ( | const MYSQL_TIME * | ltime, |
my_bool | not_zero_date, | ||
ulong | flags, | ||
int * | was_cut | ||
) |
int check_time_range | ( | struct st_mysql_time * | my_time, |
int * | warning | ||
) |
void init_time | ( | void | ) |
int my_date_to_str | ( | const MYSQL_TIME * | l_time, |
char * | to | ||
) |
int my_datetime_to_str | ( | const MYSQL_TIME * | l_time, |
char * | to | ||
) |
my_time_t my_system_gmt_sec | ( | const MYSQL_TIME * | t_src, |
long * | my_timezone, | ||
my_bool * | in_dst_time_gap | ||
) |
int my_time_to_str | ( | const MYSQL_TIME * | l_time, |
char * | to | ||
) |
int my_TIME_to_str | ( | const MYSQL_TIME * | l_time, |
char * | to | ||
) |
longlong number_to_datetime | ( | longlong | nr, |
MYSQL_TIME * | time_res, | ||
uint | flags, | ||
int * | was_cut | ||
) |
void set_zero_time | ( | MYSQL_TIME * | tm, |
enum enum_mysql_timestamp_type | time_type | ||
) |
enum enum_mysql_timestamp_type str_to_datetime | ( | const char * | str, |
uint | length, | ||
MYSQL_TIME * | l_time, | ||
uint | flags, | ||
int * | was_cut | ||
) |
my_bool str_to_time | ( | const char * | str, |
uint | length, | ||
MYSQL_TIME * | l_time, | ||
int * | warning | ||
) |
ulonglong TIME_to_ulonglong | ( | const MYSQL_TIME * | my_time | ) |
ulonglong TIME_to_ulonglong_date | ( | const MYSQL_TIME * | my_time | ) |
ulonglong TIME_to_ulonglong_datetime | ( | const MYSQL_TIME * | my_time | ) |
ulonglong TIME_to_ulonglong_time | ( | const MYSQL_TIME * | my_time | ) |
uchar days_in_month[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0} |
ulonglong log_10_int[20] |
{ 1, 10, 100, 1000, 10000UL, 100000UL, 1000000UL, 10000000UL, ULL(100000000), ULL(1000000000), ULL(10000000000), ULL(100000000000), ULL(1000000000000), ULL(10000000000000), ULL(100000000000000), ULL(1000000000000000), ULL(10000000000000000), ULL(100000000000000000), ULL(1000000000000000000), ULL(10000000000000000000) }