Class: SC.Validator.Date
Extends
SC.Validator.
Defined in: date.js
Field Summary
- Fields borrowed from SC.Object:
- concatenatedProperties, isDestroyed, isObject, nextProperty, object, property, target, toInvalidate
- Fields borrowed from SC.Observable:
- isObservable
Instance Methods
Field Detail
format
The standard format you want the validator to convert dates to.
Instance Method Detail
fieldValueForObject(object, form, field)
if we have a number, then convert to a date object.
- Parameters:
- object
- form
- field
objectForFieldValue(value, form, field)
Try to pass value as a date. convert into a number, or return null if it could not be parsed.
- Parameters:
- value
- form
- field
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)