~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/year.h

  • Committer: Brian Aker
  • Date: 2009-01-08 22:38:15 UTC
  • Revision ID: brian@tangent.org-20090108223815-i7p6uaajqxapge8a
func_timestamp now working.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/function/math/int.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
class Item_func_year :public Item_int_func
29
26
{
30
27
public:
31
28
  Item_func_year(Item *a) :Item_int_func(a) {}
32
29
  int64_t val_int();
33
30
  const char *func_name() const { return "year"; }
 
31
  enum_monotonicity_info get_monotonicity_info() const;
34
32
  int64_t val_int_endpoint(bool left_endp, bool *incl_endp);
35
33
  void fix_length_and_dec()
36
34
  {
40
38
  }
41
39
};
42
40
 
43
 
} /* namespace drizzled */
44
 
 
45
41
#endif /* DRIZZLED_FUNCTION_TIME_YEAR_H */