public function testRangeDate()
{
$range = ArrayUtil::range('2010-03-01', '2009-11-01', function ($current) {
return date('Y-m-d', strtotime('first day of last month', strtotime($current)));
});
$expect = ['2010-03-01', '2010-02-01', '2010-01-01', '2009-12-01', '2009-11-01'];
$this->assertEquals($expect, $range);
}