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

vjkit DateUtil.setMonths改进 #102

Closed
KnightOfWind opened this issue Aug 19, 2018 · 1 comment
Closed

vjkit DateUtil.setMonths改进 #102

KnightOfWind opened this issue Aug 19, 2018 · 1 comment
Milestone

Comments

@KnightOfWind
Copy link

一般符合大习惯的月份范围是:1-12,Java8中LocalDate和LocalDateTime的getMonthValue的返回值也是这个范围,这样更容易理解,而且也无需再做一次转换,即使切换到新的API也不会付出额外的抓换成本(主要是使用习惯问题)

@calvin1978 calvin1978 changed the title DateUtil.setMonths改进 vjkit DateUtil.setMonths改进 Aug 20, 2018
@calvin1978
Copy link
Member

谢谢,vjkit的真正用户一枚:)

@calvin1978 calvin1978 added this to the 1.0.5 milestone Aug 24, 2018
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