ASF Bugzilla – Attachment 37754 Details for
Bug 65165
[DateValue] DATEVALUE should throw an EvaluationException
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to DateValue.java
DateValue.diff (text/plain), 453 bytes, created by
Petr Michálek
on 2021-03-04 16:32:27 UTC
(
hide
)
Description:
Patch to DateValue.java
Filename:
MIME Type:
Creator:
Petr Michálek
Created:
2021-03-04 16:32:27 UTC
Size:
453 bytes
patch
obsolete
>19a20,23 >> import java.time.DateTimeException; >> >> import org.apache.poi.ss.formula.eval.ErrorEval; >> >59c63,67 >< return new NumberEval(DateUtil.getExcelDate(DateParser.parseLocalDate(dateText))); >--- >> try { >> return new NumberEval(DateUtil.getExcelDate(DateParser.parseLocalDate(dateText))); >> } catch (DateTimeException e) { >> throw new EvaluationException(ErrorEval.NUM_ERROR); >> }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 65165
: 37754