179
184
static const uint32_t FRACTIONAL_DIGITS= 1000000;
180
185
static const size_t MAX_STRING_LENGTH= 32; // +32 to make my_snprintf_{8bit|ucs2} happy
188
193
type::timestamp_t str_to_datetime(const char *str, uint32_t length, type::Time *l_time, uint32_t flags, int *was_cut);
196
195
bool str_to_time(const char *str,uint32_t length, type::Time *l_time, int *warning);
198
197
long calc_daynr(uint32_t year,uint32_t month,uint32_t day);