|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.calendar.DateTimeTest
public class DateTimeTest
Unit tests on DateTime objects.
| Constructor Summary | |
|---|---|
DateTimeTest()
|
|
| Method Summary | |
|---|---|
void |
cloneADateTimeCreatesANewInstanceForTheSameDateTime()
Test of clone method, of class DateTime. |
void |
createsANowDate()
Test of now method, of class DateTime. |
void |
createsAtASpecifiedDateTime()
|
void |
createsAtASpecifiedShorterDateTime()
|
void |
isDefinedNotDefined()
|
void |
nowIsAfterAPastDateTime()
Test of after method, of class DateTime. |
void |
nowIsBeforeAFuturDateTime()
Test of before method, of class DateTime. |
void |
setUp()
|
static void |
setUpClass()
|
void |
tearDown()
|
static void |
tearDownClass()
|
void |
theICalInUTCRepresentation()
Test of toICalInUTC method, of class DateTime. |
void |
theICalRepresentation()
Test of toICal method, of class DateTime. |
void |
theISO8601Representation()
Test of toISO8601 method, of class DateTime. |
void |
theTimeZoneImpactsOnlyTheISORepresentationOfTheDateTime()
Test of inTimeZone method, of class DateTime. |
void |
twoSameDateTimesAreEqual()
Test of equals method, of class DateTime. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimeTest()
| Method Detail |
|---|
public static void setUpClass()
throws Exception
Exception
public static void tearDownClass()
throws Exception
Exceptionpublic void setUp()
public void tearDown()
public void createsANowDate()
public void createsAtASpecifiedDateTime()
public void createsAtASpecifiedShorterDateTime()
public void cloneADateTimeCreatesANewInstanceForTheSameDateTime()
public void theISO8601Representation()
public void theICalRepresentation()
public void theICalInUTCRepresentation()
public void theTimeZoneImpactsOnlyTheISORepresentationOfTheDateTime()
public void nowIsBeforeAFuturDateTime()
public void nowIsAfterAPastDateTime()
public void twoSameDateTimesAreEqual()
public void isDefinedNotDefined()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||