package test.ibridge.hnwis.sys;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import test.ibridge.hnwis.sys.BaZi;
import test.ibridge.hnwis.sys.LuozhuangshenshaHehun;
import test.ibridge.hnwis.sys.luozhuanglvhehun;
public class test {
LuozhuangshenshaHehun myLuozhuangshenshaHehun = new LuozhuangshenshaHehun();
luozhuanglvhehun myluozhuanglvhehun = new luozhuanglvhehun();
/**
*
* @param man 生日 yyyy-MM-dd HH
* @return 返回乾造
* @throws ParseException
*/
public String paipan(String man, luozhuanglvhehun.sex isman) throws ParseException {
Calendar mancal;
try {
mancal = myLuozhuangshenshaHehun.getCalendarfromString(man, "yyyy-MM-dd HH");
//原来的private 方法改了下
} catch (ParseException ex) {
return "输入不正确" + ex.getMessage();
java 合婚算法
最新推荐文章于 2024-04-25 15:55:56 发布