Coder Social home page Coder Social logo

calendarist's Issues

发现了日期与万年历对应不上的问题

首先非常感谢您这边的工具,解决了我们开发过程中很大的难题,我们在使用的过程中发现,根据工具算出来的时间与万年历对应不上,例如1990年5月12日,工具算出来是乙亥日,实际上应该是丁丑日 还有1990年6月11日 工具:丙午日,实际:丁未日,好像都少了一天

索引越界问题

阴历直接获取天干地支,时间为13时或者20时 会出现索引越界,hourGanZhi 方法中 hourIndex的值为13了。

闰月

阳历的2014年10月24号,农历为闰九月初一
每年生成生日时,能否是闰月时生成闰月对应的阳历,非闰月时生成非闰月对应的阳历
2015年时Calendarist calendarist = Calendarist.fromLunar(2015, 9, 1);
calendarist.set(Calendarist.LEAP_MONTH_OF_CURRENT, 1);
阳历为2015.2.19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.