org.hackystat.utilities.tstamp
Class TestTstamp

java.lang.Object
  extended by org.hackystat.utilities.tstamp.TestTstamp

public class TestTstamp
extends java.lang.Object

Tests the Tstamp class.

Author:
Philip Johnson

Constructor Summary
TestTstamp()
           
 
Method Summary
 void testDaysBetween()
          Test to make sure that the daysBetween method works correctly.
 void testOrLater()
          Test to make sure that the is* methods work OK.
 void testSorting()
          Tests that the sort() method works.
 void testTstampArithmetic()
          Tests the Tstamp class.
 void testTstampSpan()
          Tests time span.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTstamp

public TestTstamp()
Method Detail

testTstampArithmetic

public void testTstampArithmetic()
                          throws java.lang.Exception
Tests the Tstamp class.

Throws:
java.lang.Exception - if problems occur.

testTstampSpan

public void testTstampSpan()
                    throws java.lang.Exception
Tests time span.

Throws:
java.lang.Exception - If problem occurs

testOrLater

public void testOrLater()
                 throws java.lang.Exception
Test to make sure that the is* methods work OK.

Throws:
java.lang.Exception - If problems occur.

testDaysBetween

public void testDaysBetween()
                     throws java.lang.Exception
Test to make sure that the daysBetween method works correctly.

Throws:
java.lang.Exception - If problems occur.

testSorting

public void testSorting()
                 throws java.lang.Exception
Tests that the sort() method works.

Throws:
java.lang.Exception - If problems occur.