| org.apache.commons.validator.routines.BaseCalendarValidatorTest
All known Subclasses: org.apache.commons.validator.routines.CalendarValidatorTest, org.apache.commons.validator.routines.DateValidatorTest,
BaseCalendarValidatorTest | public class BaseCalendarValidatorTest extends TestCase (Code) | | Base Calendar Test Case.
version: $Revision: 478334 $ $Date: 2006-11-22 21:31:54 +0000 (Wed, 22 Nov 2006) $ |
BaseCalendarValidatorTest | public BaseCalendarValidatorTest(String name)(Code) | | Constructor
Parameters: name - test name |
createCalendar | protected static Calendar createCalendar(TimeZone zone, int date, int time)(Code) | | Create a calendar instance for a specified time zone, date and time.
Parameters: zone - The time zone Parameters: date - The date in yyyyMMdd format Parameters: time - the time in HH:mm:ss format the new Calendar instance. |
createDate | protected static Date createDate(TimeZone zone, int date, int time)(Code) | | Create a date instance for a specified time zone, date and time.
Parameters: zone - The time zone Parameters: date - The date in yyyyMMdd format Parameters: time - the time in HH:mm:ss format the new Date instance. |
testFormat | public void testFormat()(Code) | | Test Invalid Dates with "locale" validation
|
testLocaleInvalid | public void testLocaleInvalid()(Code) | | Test Invalid Dates with "locale" validation
|
testLocaleValid | public void testLocaleValid()(Code) | | Test Valid Dates with "locale" validation
|
testPatternInvalid | public void testPatternInvalid()(Code) | | Test Invalid Dates with "pattern" validation
|
testPatternValid | public void testPatternValid()(Code) | | Test Valid Dates with "pattern" validation
|
|
|