22 #include <drizzled/sql_error.h>
23 #include <drizzled/type/time.h>
29 int calc_weekday(
long daynr,
bool sunday_first_day_of_week);
59 uint32_t calc_week(type::Time *l_time, uint32_t week_behaviour, uint32_t *year);
63 void get_date_from_daynr(
long daynr,
75 type::timestamp_t str_to_datetime_with_warn(Session&,
str_ref, type::Time&, uint32_t flags);
84 bool str_to_time_with_warn(Session&,
str_ref, type::Time&);
86 void make_truncated_value_warning(Session&, DRIZZLE_ERROR::enum_warning_level level,
str_ref, type::timestamp_t,
const char* field);
113 bool calc_time_diff(type::Time *l_time1,
116 int64_t *seconds_out,
117 long *microseconds_out);
TODO: Rename this file - func.h is stupid.