INNER CODE UNIT · Java

of

xkzhangsan/xk-time · src/main/java/com/xkzhangsan/time/LunarDate.java:311

	public static LunarDate of(int lYear, int lMonth, int lDay, boolean isLeapMonth){
		return from(lunarToSolar(lYear, lMonth, lDay, isLeapMonth));
	}
	
	/**
	 * 农历转公历日期
	 * 
	 * @param lYear
	 *            农历年
	 * @param lMonth
	 *            农历月
	 * @param lDay
	 *            农历日
	 * @param isLeapMonth
	 *            是否是农历闰月
	 * @return Date
	 */
	public static Date lunarToSolar(int lYear, int lMonth, int lDay, boolean isLeapMonth) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…