How to include start date in Joda Time daysBetween?

This question already has an answer here:

  • Number of days between two dates in Joda-Time 6 answers

  • Actually Days.daysBetween(-,-) method just subtracts the start day from the end day. If you want to get the total no of days including the start day then you must have to minus 1 from the start date.

    链接地址: http://www.djcxy.com/p/36660.html

    上一篇: 使用joda时间声明startdate&endate?

    下一篇: 如何在Joda时间日期之间包含开始日期?