~jaypipes/drizzle/split-xa-resource-manager

« back to all changes in this revision

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

  • Committer: Jay Pipes
  • Date: 2010-02-06 01:51:20 UTC
  • mfrom: (1273.1.10 build)
  • Revision ID: jpipes@serialcoder-20100206015120-as4vb638inbzrb59
Merge trunk changes and resolve conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "drizzled/function/time/date.h"
24
24
 
 
25
namespace drizzled
 
26
{
 
27
 
25
28
/* forward declarations */
26
 
namespace drizzled {class Date;}
 
29
class Date;
27
30
 
28
31
class Item_func_from_days :public Item_date
29
32
{
33
36
  /**
34
37
   * All functions which inherit from Item_date must implement
35
38
   * their own get_temporal() method, which takes a supplied
36
 
   * drizzled::Date reference and populates it with a correct
 
39
   * Date reference and populates it with a correct
37
40
   * date based on the semantics of the function.
38
41
   *
39
42
   * For FROM_DAYS(), we interpret the function's argument
46
49
   * For a NULL parameter, we return false and set null_value
47
50
   * to true.
48
51
   *
49
 
   * @param Reference to a drizzled::Date to populate
 
52
   * @param Reference to a Date to populate
50
53
   */
51
 
  bool get_temporal(drizzled::Date &temporal);
 
54
  bool get_temporal(Date &temporal);
52
55
};
53
56
 
 
57
} /* namespace drizzled */
 
58
 
54
59
 
55
60
#endif /* DRIZZLED_FUNCTION_TIME_FROM_DAYS_H */