com.retek.commons.util.type
Class RDateTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.retek.commons.util.RetekTestCase
              extended bycom.retek.commons.util.type.RDateTest
All Implemented Interfaces:
junit.framework.Test

public class RDateTest
extends RetekTestCase


Field Summary
 
Fields inherited from class com.retek.commons.util.RetekTestCase
BEGIN_PROFILING, END_PROFILING
 
Constructor Summary
RDateTest(java.lang.String name)
           
 
Method Summary
 void doInitialSetUp()
           
 void doSetUp()
           
 void doTearDown()
           
static junit.framework.TestSuite suite()
           
 void testAddBusinessDays()
           
 void testAddDays()
           
 void testAddHoursNextDay()
           
 void testAddHoursPreviousDay()
           
 void testAddHoursSameDay()
           
 void testBusinessDaysTo()
           
 void testCompareHoursFutureHour()
           
 void testCompareHoursPriorHour()
           
 void testCompareHoursSameHour()
           
 void testCreatDatesWithCustomFormat()
           
 void testCreateDates()
           
 void testCreateDateTimeFormat()
           
 void testCreateDateTimeWithSecondsZone()
           
 void testCreateDateTimeZone()
           
 void testCreateFromMilitaryTime()
           
 void testCreateFromMilitaryTimeUsingDefaultTimeFormat()
           
 void testCreateMilitaryTimeWithTodaysDate()
           
 void testDaysTo()
           
 void testEquals()
           
 void testEqualsDay()
           
 void testForNullPassesToConstructor()
           
 void testGregorianDateToSqlDate()
           
 void testIsAfter()
           
 void testIsBefore()
           
 void testIsBetween()
           
 void testIsBetweenDays()
           
 void testIsBusinessDay()
           
 void testIsDayAfter()
           
 void testIsDayBefore()
           
 void testIsSameDayOrAfter()
           
 void testIsSameDayOrPrior()
           
 void testIsSecAfterIgnoreDate()
           
 void testMonth()
           
 void testMonthDayYearDateTimeFormat()
           
 void testOverrideFormatConstructorTrimsMilliseconds()
           
 void testRDateOverloadedConstructor()
           
 void testSerialization()
           
 void testSetDateAndTimeButGetMilitaryTime()
           
 void testSqlDateConversion()
           
 void testTimeZoneCompareTo()
           
 void testTimeZoneIsAfter()
           
 void testToDateAndMilitaryTimeString()
           
 void testToDateTimeString()
           
 void testToDateTimeZoneString()
           
 void testToDateTimeZoneWithSecondsFormat()
           
 void testToMilitaryTimeString()
           
 void testTrimToMinute()
           
 
Methods inherited from class com.retek.commons.util.RetekTestCase
assertBusinessException, assertBusinessExceptionAttribute, assertContainsString, assertDateEqualsIgnoreTime, assertDateNotEqualsIgnoreTime, assertDateTimeEquals, assertEquals, assertEqualValuesDeep, assertEqualValuesDeep, assertEqualValuesDeep, assertFalse, assertFalse, assertNotEquals, assertNotNullAndEquals, assertNull, assertRetekEquals, assertStateEquals, assertStateNotEquals, assertXmlEquals, findDto, findDto, getContext, getReadBackContext, getReferences, getReferences, isOracleTestCase, resetSystemRDateToBusinessDay, runTest, setSecurityEncryption, setTaxSimulate, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDateTest

public RDateTest(java.lang.String name)
Method Detail

suite

public static junit.framework.TestSuite suite()

doInitialSetUp

public void doInitialSetUp()
                    throws java.lang.Exception
Specified by:
doInitialSetUp in class RetekTestCase
Throws:
java.lang.Exception

doSetUp

public void doSetUp()
             throws java.lang.Exception
Specified by:
doSetUp in class RetekTestCase
Throws:
java.lang.Exception

doTearDown

public void doTearDown()
                throws java.lang.Exception
Specified by:
doTearDown in class RetekTestCase
Throws:
java.lang.Exception

testTrimToMinute

public void testTrimToMinute()

testSqlDateConversion

public void testSqlDateConversion()

testMonth

public void testMonth()

testRDateOverloadedConstructor

public void testRDateOverloadedConstructor()

testEquals

public void testEquals()
                throws java.lang.Exception
Throws:
java.lang.Exception

testToDateTimeString

public void testToDateTimeString()
                          throws RDateParseException
Throws:
RDateParseException

testToDateTimeZoneWithSecondsFormat

public void testToDateTimeZoneWithSecondsFormat()
                                         throws RDateParseException
Throws:
RDateParseException

testToDateTimeZoneString

public void testToDateTimeZoneString()
                              throws RDateParseException
Throws:
RDateParseException

testOverrideFormatConstructorTrimsMilliseconds

public void testOverrideFormatConstructorTrimsMilliseconds()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

testMonthDayYearDateTimeFormat

public void testMonthDayYearDateTimeFormat()
                                    throws RDateParseException
Throws:
RDateParseException

testIsSameDayOrPrior

public void testIsSameDayOrPrior()
                          throws RDateParseException
Throws:
RDateParseException

testIsDayBefore

public void testIsDayBefore()
                     throws RDateParseException
Throws:
RDateParseException

testIsSameDayOrAfter

public void testIsSameDayOrAfter()
                          throws RDateParseException
Throws:
RDateParseException

testEqualsDay

public void testEqualsDay()
                   throws RDateParseException
Throws:
RDateParseException

testCreateDates

public void testCreateDates()
                     throws RDateParseException
Throws:
RDateParseException

testCreatDatesWithCustomFormat

public void testCreatDatesWithCustomFormat()
                                    throws RDateParseException
Throws:
RDateParseException

testIsDayAfter

public void testIsDayAfter()
                    throws RDateParseException
Throws:
RDateParseException

testIsBetweenDays

public void testIsBetweenDays()
                       throws RDateParseException
Throws:
RDateParseException

testGregorianDateToSqlDate

public void testGregorianDateToSqlDate()
                                throws RDateParseException
Throws:
RDateParseException

testForNullPassesToConstructor

public void testForNullPassesToConstructor()

testToMilitaryTimeString

public void testToMilitaryTimeString()
                              throws RDateParseException
Throws:
RDateParseException

testToDateAndMilitaryTimeString

public void testToDateAndMilitaryTimeString()
                                     throws RDateParseException
Throws:
RDateParseException

testCreateFromMilitaryTime

public void testCreateFromMilitaryTime()
                                throws RDateParseException
Throws:
RDateParseException

testCreateFromMilitaryTimeUsingDefaultTimeFormat

public void testCreateFromMilitaryTimeUsingDefaultTimeFormat()
                                                      throws RDateParseException
Throws:
RDateParseException

testCreateDateTimeZone

public void testCreateDateTimeZone()
                            throws RDateParseException
Throws:
RDateParseException

testCreateDateTimeFormat

public void testCreateDateTimeFormat()
                              throws RDateParseException
Throws:
RDateParseException

testCreateDateTimeWithSecondsZone

public void testCreateDateTimeWithSecondsZone()
                                       throws RDateParseException
Throws:
RDateParseException

testTimeZoneIsAfter

public void testTimeZoneIsAfter()
                         throws RDateParseException
Throws:
RDateParseException

testTimeZoneCompareTo

public void testTimeZoneCompareTo()
                           throws RDateParseException
Throws:
RDateParseException

testSetDateAndTimeButGetMilitaryTime

public void testSetDateAndTimeButGetMilitaryTime()
                                          throws RDateParseException
Throws:
RDateParseException

testCreateMilitaryTimeWithTodaysDate

public void testCreateMilitaryTimeWithTodaysDate()
                                          throws RDateParseException
Throws:
RDateParseException

testAddDays

public void testAddDays()
                 throws RDateParseException
Throws:
RDateParseException

testAddHoursSameDay

public void testAddHoursSameDay()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddHoursNextDay

public void testAddHoursNextDay()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testAddHoursPreviousDay

public void testAddHoursPreviousDay()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testCompareHoursSameHour

public void testCompareHoursSameHour()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testCompareHoursPriorHour

public void testCompareHoursPriorHour()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCompareHoursFutureHour

public void testCompareHoursFutureHour()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testSerialization

public void testSerialization()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDaysTo

public void testDaysTo()
                throws java.lang.Exception
Throws:
java.lang.Exception

testIsBetween

public void testIsBetween()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testIsBefore

public void testIsBefore()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testIsAfter

public void testIsAfter()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testIsBusinessDay

public void testIsBusinessDay()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testAddBusinessDays

public void testAddBusinessDays()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testBusinessDaysTo

public void testBusinessDaysTo()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testIsSecAfterIgnoreDate

public void testIsSecAfterIgnoreDate()
                              throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28