From b7e55e211b6ac2c12652c666ce8153151e94c294 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 15 Sep 2017 12:29:35 +0000 Subject: remove some deprecated code slated for removal in 3.18 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808455 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/testcases') diff --git a/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java b/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java index 80adae743e..3ea70b9947 100644 --- a/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java +++ b/src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java @@ -153,15 +153,4 @@ public class TestWorkdayCalculator { assertEquals("Expected 1 non-weekend-holiday for " + start + " to " + end + " and " + holiday1 + " and " + holiday2, 1, count); } - - @SuppressWarnings("deprecation") - @Test - public void testIsNonWorkday() throws Exception { - final double weekend = DateUtil.getExcelDate(d(2016, 12, 25)); - final double holiday = DateUtil.getExcelDate(d(2016, 12, 26)); - final double workday = DateUtil.getExcelDate(d(2016, 12, 27)); - assertEquals(1, WorkdayCalculator.instance.isNonWorkday(weekend, new double[]{holiday})); - assertEquals(1, WorkdayCalculator.instance.isNonWorkday(holiday, new double[]{holiday})); - assertEquals(0, WorkdayCalculator.instance.isNonWorkday(workday, new double[]{holiday})); - } } -- cgit v1.2.3