diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-09-15 12:29:35 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-09-15 12:29:35 +0000 |
commit | b7e55e211b6ac2c12652c666ce8153151e94c294 (patch) | |
tree | 781f82ebc582da14281c89016a108b58dee279c0 /src/testcases/org/apache/poi | |
parent | f7356f2b1998befe782a4a3715a533c097726b51 (diff) | |
download | poi-b7e55e211b6ac2c12652c666ce8153151e94c294.tar.gz poi-b7e55e211b6ac2c12652c666ce8153151e94c294.zip |
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
Diffstat (limited to 'src/testcases/org/apache/poi')
-rw-r--r-- | src/testcases/org/apache/poi/ss/formula/atp/TestWorkdayCalculator.java | 11 |
1 files changed, 0 insertions, 11 deletions
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})); - } } |