📜  Moment.js:日期之间的日期 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:53.208000             🧑  作者: Mango

代码示例4
target.isBetween(start, finish, 'days', '()') // default exclusive
target.isBetween(start, finish, 'days', '(]') // right inclusive
target.isBetween(start, finish, 'days', '[)') // left inclusive
target.isBetween(start, finish, 'days', '[]') // all inclusive