Skip to content
New issue

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

使用toFullString() API 报错 #40

Open
MeerStn opened this issue Dec 27, 2023 · 1 comment
Open

使用toFullString() API 报错 #40

MeerStn opened this issue Dec 27, 2023 · 1 comment

Comments

@MeerStn
Copy link

MeerStn commented Dec 27, 2023

Solar solar1 = new Solar(year,3,22);
System.out.println(solar1.toFullString());
System.out.println(solar1.getLunar().toFullString());

上述代码会导致数组下标越界 day 参数为23 也会

@6tail
Copy link
Owner

6tail commented Dec 28, 2023

请提供一下year参数。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants