(val: number | string | Date)
| 269 | } |
| 270 | |
| 271 | static parse(val: number | string | Date): number { |
| 272 | // `val` might be a float (e.g., calculated from percent), so call `round`. |
| 273 | return isNumber(val) ? Math.round(val) : +numberUtil.parseDate(val); |
| 274 | } |
| 275 | |
| 276 | } |
| 277 |
no test coverage detected