Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (18 sloc) 361 Bytes
#ifndef SOLARANDLUNAR_DB
#define SOLARANDLUNAR_DB
struct Sday {
int month;
int day;
};
struct Lday {
int month;
int day;
int leap;
};
struct MappingOfLunarToSolar {
int year;
struct Lday Smonth[12]; // From Solar to Lunar
struct Sday Lmonth[13]; // put the day of Solar. Mean What day the lunar x.1 is?
int leap;
};
#endif // SOLARANDLUNAR_DB //