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

修改DateUtil类getMonthLength注释以降低被误用的风险 #209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wang-yun
Copy link

@wang-yun wang-yun commented May 2, 2023

  1. 对getMonthLength注释,明确表示月份是从1到12,而不是Calendar中的0到11.
  2. 修改DateUtilTest测试类中的警告语句, 主要是将new Date改成Calendar.

@zcarsenal
Copy link

zcarsenal commented May 2, 2023 via email

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

Successfully merging this pull request may close these issues.

None yet

2 participants