(config)
| 17253 | } |
| 17254 | |
| 17255 | function configFromObject(config) { |
| 17256 | if (config._d) { |
| 17257 | return; |
| 17258 | } |
| 17259 | |
| 17260 | var i = normalizeObjectUnits(config._i); |
| 17261 | config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { |
| 17262 | return obj && parseInt(obj, 10); |
| 17263 | }); |
| 17264 | |
| 17265 | configFromArray(config); |
| 17266 | } |
| 17267 | |
| 17268 | function createFromConfig (config) { |
| 17269 | var res = new Moment(checkOverflow(prepareConfig(config))); |
no test coverage detected