From: PJ Fanning Date: Sat, 7 Aug 2021 19:40:35 +0000 (+0000) Subject: add test X-Git-Tag: REL_5_1_0~60 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4123427baecd704a264188601bc555eb1f86a345;p=poi.git add test git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892091 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java index 3cd4ab552f..1cbee788b8 100644 --- a/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java +++ b/poi/src/test/java/org/apache/poi/ss/formula/functions/TestTimeValue.java @@ -62,6 +62,7 @@ final class TestTimeValue { confirmTimeValue(new StringEval("1/01/2000 6:00 PM"), 0.75); // Serial number of a time entered as text. confirmTimeValue(new StringEval("12:00"), 0.5); // Serial number of a time entered as text. confirmTimeValue(new StringEval("6:00 PM"), 0.75); // Serial number of a time entered as text. + confirmTimeValue(new StringEval("12:03:45"), 0.5026041666642413); // Serial number of a time entered as text. } finally { LocaleUtil.setUserLocale(null); }