📅  最后修改于: 2022-03-11 15:01:55.243000             🧑  作者: Mango
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