|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.hackystat.utilities.time.period.TestDay
public class TestDay
Tests the Day implementation.
Constructor Summary | |
---|---|
TestDay()
|
Method Summary | |
---|---|
void |
testDay()
Test the APIs of day object. |
void |
testDaylightSavingsIssues()
Tests the day light savings issue associated with getting a day. |
void |
testGetFirstTickOfTheDay()
Tests getFirstTickOfTheDay and getLastTickOfTheDay method. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestDay()
Method Detail |
---|
public void testDay() throws java.lang.Exception
java.lang.Exception
- If problems occur.public void testDaylightSavingsIssues()
A failure in this method is caused by a date (ie. 0-31) of the Day object does not equal the date of the Date object. This indicates that the DayCache is not interpreting the TimeZone and DST correctly.
public void testGetFirstTickOfTheDay()
getFirstTickOfTheDay
and getLastTickOfTheDay
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |