/* file generated by oo2c -- do not edit */
#ifndef _MODULE_Calendar_
#define _MODULE_Calendar_

#define Calendar__sunday 0
#define Calendar__monday 1
#define Calendar__tuesday 2
#define Calendar__wednesday 3
#define Calendar__thursday 4
#define Calendar__friday 5
#define Calendar__saturday 6
#define Calendar__january 1
#define Calendar__february 2
#define Calendar__march 3
#define Calendar__april 4
#define Calendar__may 5
#define Calendar__june 6
#define Calendar__july 7
#define Calendar__august 8
#define Calendar__september 9
#define Calendar__october 10
#define Calendar__november 11
#define Calendar__december 12
#include "SysClock.h"
extern void Calendar__SetLocalTime(SysClock__DateTime *c, _Type c__tag, signed char d, signed char m, short int y, signed char h, signed char min, signed char s);
extern void Calendar__SetUTC(SysClock__DateTime *c, _Type c__tag, signed char d, signed char m, short int y, signed char h, signed char min, signed char s);
#include "Time.h"
extern void Calendar__GetTimeStamp(SysClock__DateTime *c, _Type c__tag, const Time__TimeStamp *s__ref);
extern void Calendar__SetTimeStamp(const SysClock__DateTime *c__ref, Time__TimeStamp *t, _Type t__tag);
extern signed char Calendar__DayOfWeek(const SysClock__DateTime *c__ref);
extern unsigned char Calendar__IsLeapYear(const SysClock__DateTime *c__ref);
extern signed char Calendar__DaysPerMonth(const SysClock__DateTime *c__ref);
extern short int Calendar__WeekNumber(const SysClock__DateTime *c__ref, signed char startday);
extern short int Calendar__DayOfYear(const SysClock__DateTime *c__ref);
extern void Calendar__TimeToStr(SysClock__DateTime *c, _Type c__tag, const unsigned char* pattern__ref, int pattern_0d, unsigned char* dateStr, int dateStr_0d);
extern unsigned char Calendar__StrToTime(SysClock__DateTime *c, _Type c__tag, const unsigned char* dateStr__ref, int dateStr_0d, const unsigned char* pattern__ref, int pattern_0d);
extern void Calendar_init(void);

#endif
