~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/calendar.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
RemoveĀ unusedĀ Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 * @cite http://en.wikipedia.org/wiki/Julian_day#Calculation
37
37
 */
38
38
 
39
 
#ifndef DRIZZLED_CALENDAR_H
40
 
#define DRIZZLED_CALENDAR_H
 
39
#pragma once
41
40
 
42
41
#define JULIAN_DAY_NUMBER_AT_ABSOLUTE_DAY_ONE INT64_C(1721425)
43
42
 
44
43
#define DAYS_IN_NORMAL_YEAR INT32_C(365)
45
44
#define DAYS_IN_LEAP_YEAR INT32_C(366)
46
45
 
47
 
#define GREGORIAN_START_YEAR 1582
48
 
#define GREGORIAN_START_MONTH 10
49
 
#define GREGORIAN_START_DAY 15
50
 
 
51
46
#define UNIX_EPOCH_MIN_YEARS 1970
52
47
#define UNIX_EPOCH_MAX_YEARS 2038
53
48
 
343
338
 
344
339
} /* namespace drizzled */
345
340
 
346
 
#endif /* DRIZZLED_CALENDAR_H */