/**
* Parse number submodule.
*
* @module datatype
* @submodule datatype-date-parse
* @for DataType.Date
*/
/**
* Converts data to type Date.
*
* @method parse
* @param data {String | Number} Data to convert. Values supported by the Date constructor are supported.
* @return {Date} A Date, or null.
*/
var date = null;
//Convert to date
}
else {
return date;
}
// Validate
return date;
}
else {
return null;
}
}
});
// Add Parsers shortcut
}, '@VERSION@' );