Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Convert the Calendar between Gregorian and Chinese lunar.
C C++ Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
24solarterms.txt
Lunar2Solar.txt
Makefile
README
Solar2Lunar.txt
SolarAndLunar.c
SolarAndLunar.h
db.h
debug.sh
main.cpp
make24db.c
makedb.c
makedb.h

README

Convert the Calendar between Gregorian and Chinese lunar.

Make binary
$ make 

Create db2
$ ./transfer

Convert from Gregorian to Chinese lunar
$ ./transfer 2010 8 9 

Convert from Chinese lunar to Gregorian
$ ./transfer 2010 6 29 0
Something went wrong with that request. Please try again.