support NSDate as data model.