def test_41(self): self.assertDatetime(parse_date('next quarter', date), '2017-01-01 00:00')
def test_20(self): self.assertDate(parse_date('next may', date), '2017-05-01')
def test_25(self): self.assertDatetime(parse_date('next hour', date), '2016-10-04 23:00')
def test_12(self): self.assertDate(parse_date('today + 1 week', date), '2016-10-11')
def test_16(self): self.assertDate(parse_date('today +1month', date), '2016-11-04')
def test_03(self): self.assertDate(parse_date('next mon', date), '2016-10-10')
def test_08(self): self.assertDate(parse_date('today -1day', date), '2016-10-03')
def test_05(self): self.assertDate(parse_date('last mon + 1day', date), '2016-09-27')
def test_07(self): self.assertDate(parse_date('today 1day', date), '2016-10-05')
def test_04(self): self.assertDate(parse_date('last mon', date), '2016-09-26')
def test_02(self): self.assertDate(parse_date('mon', date), '2016-10-03')
def test_01(self): self.assertDate(parse_date('jan', date), '2016-01-01')
def test_42(self): self.assertDate(parse_date('today - 1q', date), '2016-07-04')
def test_09(self): self.assertDate(parse_date('today 1year', date), '2017-10-04')
def test_10(self): self.assertDate(parse_date('2016-05', date), '2016-05-01')
def test_11(self): self.assertDate(parse_date('2016-05-13years', date), '2016-05-13')
def test_14(self): self.assertDate(parse_date('fri', date), '2016-10-07')
def test_18(self): self.assertDate(parse_date('2016-12-1 +28month', date), '2019-04-01')
def test_13(self): self.assertDate(parse_date('sun', date), '2016-10-09')
def test_22(self): self.assertDate(parse_date('next month', date), '2016-11-01')
def test_27(self): self.assertDatetime(parse_date('last min', date), '2016-10-04 22:38')
def test_15(self): self.assertDate(parse_date('2016', date), '2016-01-01')
def test_40(self): self.assertDatetime(parse_date('last quarter', date), '2016-07-01 00:00')
def test_17(self): self.assertDate(parse_date('2016-12-1 +1month', date), '2017-01-01')
def test_19(self): self.assertDate(parse_date('next week', date), '2016-10-10')
def test_21(self): self.assertDate(parse_date('next day', date), '2016-10-05')
def test_23(self): self.assertDate(parse_date('next year', date), '2017-01-01')
def test_26(self): self.assertDatetime(parse_date('next min', date), '2016-10-04 22:40')
def test_28(self): self.assertDatetime(parse_date('', date), '2016-10-04 22:39')
def test_29(self): self.assertDate(parse_date('last may', date), '2015-05-01')
def test_39(self): self.assertDatetime(parse_date('this quarter', date), '2016-10-01 00:00')