We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protected static int getXunIndex(String ganZhi) { int ganIndex = find(ganZhi.substring(0, 1), GAN, 0); int zhiIndex = find(ganZhi.substring(1), ZHI, 0); int diff = ganIndex - zhiIndex; if (diff < 0) { diff += 12; } return diff / 2; } public static String getXun(String ganZhi) { return XUN[getXunIndex(ganZhi)]; } public static String getXunKong(String ganZhi) { return XUN_KONG[getXunIndex(ganZhi)]; } int ganIndex = find(ganZhi.substring(0, 1), GAN, 0); ganZhi空了会报错
The text was updated successfully, but these errors were encountered:
干支为什么会空呢
Sorry, something went wrong.
大运开始的第一个数组干支是空的
空的可以不调用噻
No branches or pull requests
The text was updated successfully, but these errors were encountered: