joda-time时间操作组件

  今天看到了学习到了一个不错的操作时间的jar包,很方便的,以后操作时间运算就可以直接使用jar包中的方法了,再也不用自己写操作时间的方法了。懒的不行不行的

1  <!-- 时间操作组件 -->
2  <dependency>
3     <groupId>joda-time</groupId>
4      <artifactId>joda-time</artifactId>
5      <version>${joda-time.version}</version>
6   </dependency>

附上使用的博客以及详细讲解:

https://www.jianshu.com/p/efdeda608780

https://www.ibm.com/developerworks/cn/java/j-jodatime.html

猜你喜欢

转载自www.cnblogs.com/ssh-html/p/10513556.html