Method Summary |
|
protected void | setUp() Common test setup. |
public static Test | suite() Returns the tests as a test suite. |
public void | testDateConstructor1() In GMT, the end of Feb 2000 is java.util.Date(951,868,799,999L). |
public void | testDateConstructor2() In Auckland, the end of Feb 2000 is java.util.Date(951,821,999,999L). |
public void | testDec9999Next() Set up a month equal to Dec 9999. |
public void | testDec9999Previous() Set up a month equal to Dec 9999. |
public void | testEquals() Tests the equals method. |
public void | testEqualsSelf() Check that a Month instance is equal to itself. |
public void | testGetEnd() Some checks for the getEnd() method. |
public void | testGetFirstMillisecond() Some checks for the getFirstMillisecond() method. |
public void | testGetFirstMillisecondWithCalendar() Some checks for the getFirstMillisecond(TimeZone) method. |
public void | testGetFirstMillisecondWithTimeZone() Some checks for the getFirstMillisecond(TimeZone) method. |
public void | testGetLastMillisecond() Some checks for the getLastMillisecond() method. |
public void | testGetLastMillisecondWithCalendar() Some checks for the getLastMillisecond(TimeZone) method. |
public void | testGetLastMillisecondWithTimeZone() Some checks for the getLastMillisecond(TimeZone) method. |
public void | testGetSerialIndex() Some checks for the getSerialIndex() method. |
public void | testGetStart() Some checks for the getStart() method. |
public void | testHashcode() Two objects that are equal are required to return the same hashCode. |
public void | testJan1900Next() Set up a month equal to Jan 1900. |
public void | testJan1900Previous() Set up a month equal to Jan 1900. |
public void | testNext() Some checks for the testNext() method. |
public void | testNotCloneable() The
Month class is immutable, so should not be
Cloneable . |
public void | testParseMonth() Tests the string parsing code... |
public void | testSerialization() Serialize an instance, restore it, and check for equality. |