Returns the value of the cell as a Number for passing to a StringBuffer @return The numeric value of the cell @throws IllegalDataException if the value is invalid
()
| 390 | * @throws IllegalDataException if the value is invalid |
| 391 | */ |
| 392 | public Number parseValue() { |
| 393 | if (isInteger()) { |
| 394 | return extractIntegerValue(value, 0, |
| 395 | (byte)getFlagsFromQualifier(qualifier)); |
| 396 | } else { |
| 397 | return extractFloatingPointValue(value, 0, |
| 398 | (byte)getFlagsFromQualifier(qualifier)); |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | /** |
| 403 | * Returns the Unix epoch timestamp in milliseconds |
no test coverage detected