FileDocCategorySizeDatePackage
DateTest.javaAPI DocAndroid 1.5 API1815Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.tests.java.util

DateTest

public class DateTest extends TestCase

Fields Summary
Constructors Summary
Methods Summary
public voidtest_parseLjava_lang_String()

tests
java.util.Date#parse(String)

        // Regression for HARMONY-102
        assertEquals("Assert 0: parse failure",
                -5400000, Date.parse("Sat, 1 Jan 1970 +0130 00:00:00"));
        assertEquals("Assert 1: parse failure",
                858600000, Date.parse("00:00:00 GMT +0130 Sat, 11 Jan 1970"));