~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/tzfile.h

code clean move Item_func_abs, Item_func_int_exp, Item_func_ln, Item_func_log to functions directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  Information about time zone files.
29
29
*/
30
30
 
31
 
#ifndef DRIZZLED_TZFILE_H
32
 
#define DRIZZLED_TZFILE_H
33
 
 
34
 
namespace drizzled
35
 
{
36
 
 
37
31
#ifndef TZDIR
38
32
#define TZDIR   "/usr/share/zoneinfo" /* Time zone object file directory */
39
33
#endif /* !defined TZDIR */
57
51
 
58
52
/*
59
53
  . . .followed by. . .
60
 
 
 
54
  
61
55
  tzh_timecnt (char [4])s               coded transition times a la time(2)
62
56
  tzh_timecnt (unsigned char)s          types of local time starting at above
63
57
  tzh_typecnt repetitions of
144
138
  that will probably do.
145
139
*/
146
140
 
147
 
} /* namespace drizzled */
148
 
 
149
 
#endif /* DRIZZLED_TZFILE_H */
 
141
#define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))