summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorAlex Clayton <alex.clayton@isode.com>2016-03-10 11:26:36 (GMT)
committerAlex Clayton <alex.clayton@isode.com>2016-03-14 13:53:10 (GMT)
commit5c9f31f688e480d63daab8f99205a05ff4f91e8b (patch)
tree85905767c45dc95e0dd268c8c74b0a8ebdabee9c /src/com
parentdcc9d6b81d73f42db35c6e26a91e029a117289e1 (diff)
downloadstroke-5c9f31f688e480d63daab8f99205a05ff4f91e8b.zip
stroke-5c9f31f688e480d63daab8f99205a05ff4f91e8b.tar.bz2
Add test for pre epoch dates in DateTimeTest.
As per patch 'Stop throwing out of range exception from dateTimeToLocalStrin' (eed183fbd5d121049d5965d7c60abd65f44d0376). In swiften when DateTime.dateToLocalString was passed a pre 1970 date it could throw an out of range exception. Swiften code was fixed to return an empty string in this case. In java we do not see this error so no need to modify DateTime code. Instead I just added a test to verify we can cope with pre 1970 dates. Test-information: Unit tests pass. Change-Id: Ie1db328818d1457a17e68ab891f564d169912320
Diffstat (limited to 'src/com')
0 files changed, 0 insertions, 0 deletions