~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_time.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
bool check_date(const DRIZZLE_TIME *ltime, bool not_zero_date,
85
85
                   uint32_t flags, int *was_cut);
86
86
enum enum_drizzle_timestamp_type
87
 
str_to_datetime(const char *str, uint length, DRIZZLE_TIME *l_time,
88
 
                uint flags, int *was_cut);
 
87
str_to_datetime(const char *str, uint32_t length, DRIZZLE_TIME *l_time,
 
88
                uint32_t flags, int *was_cut);
89
89
int64_t number_to_datetime(int64_t nr, DRIZZLE_TIME *time_res,
90
 
                            uint flags, int *was_cut);
 
90
                            uint32_t flags, int *was_cut);
91
91
uint64_t TIME_to_uint64_t_datetime(const DRIZZLE_TIME *);
92
92
uint64_t TIME_to_uint64_t_date(const DRIZZLE_TIME *);
93
93
uint64_t TIME_to_uint64_t_time(const DRIZZLE_TIME *);
94
94
uint64_t TIME_to_uint64_t(const DRIZZLE_TIME *);
95
95
 
96
96
 
97
 
bool str_to_time(const char *str,uint length, DRIZZLE_TIME *l_time,
 
97
bool str_to_time(const char *str,uint32_t length, DRIZZLE_TIME *l_time,
98
98
                 int *warning);
99
99
 
100
100
int check_time_range(DRIZZLE_TIME *my_time, int *warning);
101
101
 
102
 
long calc_daynr(uint year,uint month,uint day);
103
 
uint calc_days_in_year(uint year);
104
 
uint year_2000_handling(uint year);
 
102
long calc_daynr(uint32_t year,uint32_t month,uint32_t day);
 
103
uint32_t calc_days_in_year(uint32_t year);
 
104
uint32_t year_2000_handling(uint32_t year);
105
105
 
106
106
void init_time(void);
107
107