def METHOD_NAME(self):
    self.config['types'] = {'mydate': 'date'}
    # FIXME parsing should also work with default time format
    self.config['time_format'] = '%Y-%m-%d'
    old = self.add_item(artist='prince')
    new = self.add_item(artist='britney')
    # Do not match unset values
    out = self.list('mydate:..2000')
    self.assertEqual('', out)
    self.modify('mydate=1999-01-01', 'artist:prince')
    old.load()
    self.assertEqual(old['mydate'], mktime(1999, 1, 1))
    self.modify('mydate=1999-12-30', 'artist:britney')
    new.load()
    self.assertEqual(new['mydate'], mktime(1999, 12, 30))
    # Match in range
    out = self.list('mydate:..1999-07', '$artist $mydate')
    self.assertEqual('prince 1999-01-01', out)
    # FIXME some sort of timezone issue here
    # out = self.list('mydate:1999-12-30', '$artist $mydate')
    # self.assertEqual('britney 1999-12-30', out)