com.tyme.eightchar.provider.impl.LunarSect2EightCharProvider Maven / Gradle / Ivy
package com.tyme.eightchar.provider.impl;
import com.tyme.eightchar.EightChar;
import com.tyme.eightchar.provider.EightCharProvider;
import com.tyme.lunar.LunarHour;
/**
* Lunar流派2的八字计算(晚子时日柱算当天)
*
* @author 6tail
*/
public class LunarSect2EightCharProvider implements EightCharProvider {
@Override
public EightChar getEightChar(LunarHour hour) {
return new EightChar(hour.getYearSixtyCycle(), hour.getMonthSixtyCycle(), hour.getLunarDay().getSixtyCycle(), hour.getSixtyCycle());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy