Shouxing astronomical calendar Java source code

Source: Internet
Author: User

This month is very busy, and there is no time to get the "life star astronomical calendar". In fact, the translation has been completed on New Year's Day, but there is no time for sorting and integration, later, I thought that some of my friends may need the original version of the life star astronomical calendar JavaCodeSo I will first release the original translation version. You can modify and encapsulate it as needed.

Because there are a lot of code, I uploaded it to the csdn resource library in the form of files, and I will not post it in the blog.

Note the following points:

1. I have only translated the natural Text of the calendar and the new moon, excluding the eclipse, local food, and the calendar.

2. I made some changes to the final part. I started to use the Spring Festival as the 24-day solar term.

3. The entry methods are yuelic1c and qic1c.

4. The lunardate class is a collection of multiple objects in JS Code.

5. java version code is directly translated from Javascript. Therefore, JavaScript programming styles are used in the code. I think there are hidden risks in the use of many variables. Therefore, it is not ruled out to contain bugs in the case of multithreading.

Java source code:

Http://download.csdn.net/detail/wangpeng047/5039277

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.