From 7f57b18f314aa6b82ccf131f71011252935fdf6f Mon Sep 17 00:00:00 2001 From: Avik Sengupta Date: Thu, 12 Dec 2002 09:02:26 +0000 Subject: [PATCH] PR:15037 - Unit Tests for 1904 date windowing; submitted by Dan Sherman git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352937 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hssf/data/1900DateWindowing.xls | Bin 0 -> 6656 bytes .../poi/hssf/data/1904DateWindowing.xls | Bin 0 -> 6656 bytes .../poi/hssf/usermodel/TestHSSFCell.java | 38 ++++++++++++++++++ .../poi/hssf/usermodel/TestHSSFDateUtil.java | 19 +++++++++ 4 files changed, 57 insertions(+) create mode 100644 src/testcases/org/apache/poi/hssf/data/1900DateWindowing.xls create mode 100644 src/testcases/org/apache/poi/hssf/data/1904DateWindowing.xls diff --git a/src/testcases/org/apache/poi/hssf/data/1900DateWindowing.xls b/src/testcases/org/apache/poi/hssf/data/1900DateWindowing.xls new file mode 100644 index 0000000000000000000000000000000000000000..e6d966456e01e6e9ae5aa8dc1c32d3741c4c12e3 GIT binary patch literal 6656 zcmeHLYiv|S6h3oz+iszSRzRYN0$TuWkULl@Jg_jFhwm3RE6#+Nw2CSb0Q$ zRI;Q#5-qVnix?9HC5j12TLMudO2r_kgcN_EG5k=2i4f%aeRJ>aZkx8Df*O$7eDgSS zX3m*2XJ*dbmXrNjcOM*fK{})v;*#rTtVBo973zdeUJ(Nowy&F}X%R(Gy_;?$3;YRP zd)s^HMi~Wg&tm`&5DWAIxW~lZbZ1#W7GZO5A{p=)$0EEBd>-Z^O*)r3R$=AAraey$ zd;O?#q1n{eqAitDDVKG!0%a-6o~Hg{DEh6V!;OwV8)tDw$zpj@HsDtTJ)V&~*(j^E zPNY;y3F;fWnKT9Rc?WV$)S(;Jwyp`N9kW|eG8+M{;%~|4|Xv+O6H}Uz?H8g8qRP59&y0kto`B#*eYMj1p7a`XrpiO+T!vJDF5*^ zQ|nNq=$q43G&D2dqqWH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nowrgygI&bMev zFyhu34bOygtLM?v?4~RprmdQLo6dJLh)~MSy9+@idijyS)S446mw*>)8CD-Pwe6yY(YdiKVb0K3 zaRL8VhN4-W)U}};4tw#s83+>*<^Ao&*TmhSi;pl*x7F(=ZpB`X&xBb?Y2E(jZ&wzq z^}e&yBV&?3_%;)?mjQYo`}x9g2Lk|JDtQFpw=iBc{jD5C$?xK7zyQ3-*0(Qg9{Dk) zzlS@c(NE`>tSm3BC|zCYd$4L{@p{YYi>CyZ+yA40<)%`1>o-n+ak@5RxVPpttUvwA zyIlV{fKd(CzYyU60FMFu-sid*&6EMuy$ay^g8=^%coB#PLIBtMF%W4NyrPm1L$%8?0fNZO*V_uS!qxHNYL>)-k;3@wQpu&IPLy{|`F;_caU?b=W^&n^^sCMfRM$nY;}3-eze1Gw4oIRQ6c9#DaK0yYy literal 0 HcmV?d00001 diff --git a/src/testcases/org/apache/poi/hssf/data/1904DateWindowing.xls b/src/testcases/org/apache/poi/hssf/data/1904DateWindowing.xls new file mode 100644 index 0000000000000000000000000000000000000000..142d3148f312d0d03a7e5d709ecabf22a0a6ee26 GIT binary patch literal 6656 zcmeHLYiv|S6h3oz+b&RKdB4lDEwU}87K%`w-9Uv_La02%NJ(3uKn2>`)`*G13N-qo zBunZm%A*B|8jXS)#e}3SfkdMQVuIi!Wbp?Y!w)r>2tlsjH}~G|wsspDPy;fXZysmP z%sF%B%*?ra`c(f&^N|r3q*IzBF1c>@lEfIgLY>gbD`KF+_I1-VEusjjchhZTfj^;Z zAA1koC=&qgc@p3OdI7xw?lEyU-B}ipCD`1XNCrH{u?X)2pNF|ftIlPeSv!bZXcci=?@G51_FbC!N3q;C@>5d4vYXs0;7P@KngGh@Bw21 zKadKf0poysf$=~9NCz^22|y+=5y%4W1G0fhz+@l?;Qe$z%BjFKyFDG{3}7ZO%cjk- z%UHYpU+cX**u}&ISs3^NSH6-&IKu^a#9?=v_KP22t754Z?0rkfXo3m9SG&A6%dywA)pCT0}ANfF?zo+?*S={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