~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/calendar.h

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

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 */