17 Commits

Author SHA1 Message Date
Wei Chen
dbf49ab05f silence compiler errors and few minor fixes 2024-03-27 08:01:05 -05:00
Wei Chen
4b0a8aafd7 update copyright to 2020 2020-02-21 15:51:43 -06:00
Chen Wei
9316b4a36b 已->己
Thanks KhienghThenYang and xiaozhubin for discovering this bug.
2020-01-14 13:50:42 -06:00
Chen Wei
252018390f change the way handle leap month 2016-04-19 21:46:40 +08:00
Chen Wei
e2bfd5c777 re-organize code 2016-04-15 13:41:09 +08:00
Chen Wei
f2dd3cacc4 tidy and re-organize code, add more comments 2016-04-14 19:52:36 +08:00
Chen Wei
504a0a27ba fix segfault, add 除夕寒食
In print_lunarcal, use "i + 1" as index to find chuxi crosses array boundary.
2016-04-12 15:22:07 +08:00
SyllaBear
caab5df5cf Added chinese traditional holiday 2016-04-11 21:38:06 +08:00
Chen Wei
459ff548c1 add ganzhi and shenxiao to ics 2016-04-10 10:23:13 +08:00
SyllaBear
ad25bfc99f Fixed uninitialized ‘month_day1’. 2016-04-03 10:26:34 +08:00
SyllaBear
054fbd76f4 Adding ical support to the C version. 2016-04-03 10:24:18 +08:00
Chen Wei
6c1a4e610d update nutation and readme 2015-03-02 16:43:30 +08:00
Chen Wei
cd4c8c9ec5 use multiple threads in lea406 computing
test on 4-core-4-hyperthread i5 and 2-core-4-hyperthread i5, the speed of
generating lunar calendar almost doubled.
2014-04-01 21:50:08 +08:00
Chen Wei
2b0558128f free memory allocated by malloc when cache rewinded 2014-04-01 08:31:19 +08:00
Chen Wei
4d522277c3 switch to full version of lea406 2014-03-31 11:19:06 +08:00
Chen Wei
1e62e81c23 change arg of g2jd, deltaT from struct to seperated param 2014-03-31 07:43:49 +08:00
Chen Wei
73b21aab91 add a C version 2014-03-30 16:12:27 +08:00