Some timezones do not even roundtrip (like Mideast/Riyadh87), so disable the completely random timezone test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2015-07-09 10:31:13 +00:00
parent f723f0c76b
commit 28cfd161d2
1 changed files with 0 additions and 6 deletions

View File

@ -18,18 +18,12 @@ package org.apache.solr.common.util;
*/
import java.text.ParseException;
import java.util.Date;
import java.util.Locale;
import org.apache.lucene.util.LuceneTestCase;
public class TestDateUtil extends LuceneTestCase {
public void testDateToString() throws ParseException {
long ts = 1226583351000L;
assertParsedDate(ts, new Date(ts).toString());
}
public void testParseDate() throws ParseException {
assertParsedDate(1226583351000L, "Thu Nov 13 04:35:51 AKST 2008");
}