icenongli

Gregorian calendar convert to Lunar calendar.

License

License

GroupId

GroupId

com.iceyyy
ArtifactId

ArtifactId

icenongli
Last Version

Last Version

2.0
Release Date

Release Date

Type

Type

jar
Description

Description

icenongli
Gregorian calendar convert to Lunar calendar.
Project URL

Project URL

http://maven.apache.org
Source Code Management

Source Code Management

https://github.com/iceenongli/nongli.git

Download icenongli

How to add to project

<!-- https://jarcasting.com/artifacts/com.iceyyy/icenongli/ -->
<dependency>
    <groupId>com.iceyyy</groupId>
    <artifactId>icenongli</artifactId>
    <version>2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.iceyyy/icenongli/
implementation 'com.iceyyy:icenongli:2.0'
// https://jarcasting.com/artifacts/com.iceyyy/icenongli/
implementation ("com.iceyyy:icenongli:2.0")
'com.iceyyy:icenongli:jar:2.0'
<dependency org="com.iceyyy" name="icenongli" rev="2.0">
  <artifact name="icenongli" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.iceyyy', module='icenongli', version='2.0')
)
libraryDependencies += "com.iceyyy" % "icenongli" % "2.0"
[com.iceyyy/icenongli "2.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

nongli

公历转农历(1700-3100)

农历是中国最常用的日历之一,具有悠久的历史。 但是农历是非常复杂的,它的大小月及闰月几乎没有任何规律。 本算法解决了 1700-3100 一千年多年公历转农历的问题。

Lunar Calendar

The lunar calendar is one of the most commonly used calendars in China and has a long history. But the lunar calendar is very complex, and its size and leap month almost no law. This algorithm solves the problem of the lunar calendar of 1700-3100 years.

使用示例:
String date = "20170101";
String str = NongLi.getDate(date);
System.out.println(str);

maven地址:
<dependency>
    <groupId>com.iceyyy</groupId>
    <artifactId>icenongli</artifactId>
    <version>2.0</version>
</dependency>

Versions

Version
2.0
1.0