[
https://issues.apache.org/jira/browse/PDFBOX-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188580#comment-14188580
]
Tilman Hausherr commented on PDFBOX-2460:
-----------------------------------------
{code}
testParseTZ(org.apache.pdfbox.util.TestDateUtil) Time elapsed: 0.027 sec <<<
FAILURE!
junit.framework.AssertionFailedError: expected:<14400000> but was:<10800000>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at junit.framework.TestCase.assertEquals(TestCase.java:409)
at
org.apache.pdfbox.util.TestDateUtil.checkParseTZ(TestDateUtil.java:365)
at
org.apache.pdfbox.util.TestDateUtil.testParseTZ(TestDateUtil.java:387)
{code}
TestDateUtil.java:387 = checkParseTZ(+(4*HRS+0*MINS), "Europe/Moscow");
I heard on the radio that moscow changed its timezone system recently.
According to wikipedia (which may or may not be correct):
{quote}
Moscow Time has been UTC+4 year-round since 27 March 2011, but has been changed
to UTC+3 permanently on 26 October 2014.
{quote}
> fix TestPublicKeyEncryption.java
> --------------------------------
>
> Key: PDFBOX-2460
> URL: https://issues.apache.org/jira/browse/PDFBOX-2460
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 2.0.0
> Environment: java7 , deb7
> Reporter: Ralf Hauser
> Assignee: Tilman Hausherr
> Fix For: 2.0.0
>
> Attachments: patch2460Decryption.txt, patch2460DecryptionVerbose.txt,
> patch2460PublicKeyTestCaseOnError.txt
>
>
> as reported by Tilman in PDFBOX-2456
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)