📜  moment isbetween - Javascript 代码示例

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

代码示例1
var startDate = new Date(2013, 1, 12)
  , endDate   = new Date(2013, 1, 15)
  , date  = new Date(2013, 2, 15)
  , range = moment().range(startDate, endDate);

range.contains(date); // false