https://issues.apache.org/bugzilla/show_bug.cgi?id=55473
Bug ID: 55473 Summary: DataFormatter.formatCellValue(cell) throws IllegalArgumentException when the format is mm/dd/yyyy;;; and value is 0 Product: POI Version: unspecified Hardware: PC Status: NEW Severity: normal Priority: P2 Component: POI Overall Assignee: dev@poi.apache.org Reporter: narayan...@gmail.com Created attachment 30756 --> https://issues.apache.org/bugzilla/attachment.cgi?id=30756&action=edit A Xlsx file which has first row formatted with custom format mm/dd/yyyy;;; and contains value 0 DataFormatter.formatCellValue(cell) throws IllegalArgumentException when the format of a cell is is mm/dd/yyyy;;; and value is 0. Actually df.formatCellValue(cell); this API returns correct date for non zero numbers and negative numbers it returns negactive values But for value 0 for some reason it is throwing IllegalArgumentExeption. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org