code: function (value) {
      var date = new Date(value)
      assertErr(!isNaN(date.getTime()), TypeError, 'Field error: value is an invalid Date')
      return date
    }
docs: Parse value into date
  @param  {*} value serialized date value
  @return {Date} date value