|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.test.TestBase
org.h2.test.unit.TestDate
public class TestDate
Tests the date parsing. The problem is that some dates are not allowed because of the summer time change. Most countries change at 2 o'clock in the morning to 3 o'clock, but some (for example Chile) change at midnight. Non-lenient parsing would not work in this case.
| Field Summary |
|---|
| Fields inherited from class org.h2.test.TestBase |
|---|
BASE_TEST_DIR, config, start, TEMP_DIR, uniqueId |
| Constructor Summary | |
|---|---|
TestDate()
|
|
| Method Summary | |
|---|---|
static java.util.ArrayList<java.util.TimeZone> |
getDistinctTimeZones()
Get the list of timezones with distinct rules. |
static void |
main(java.lang.String... a)
Run just this test. |
void |
test()
This method will be called by the test framework. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestDate()
| Method Detail |
|---|
public static void main(java.lang.String... a)
throws java.lang.Exception
a - ignored
java.lang.Exception
public void test()
throws java.sql.SQLException
TestBase
test in class TestBasejava.sql.SQLExceptionpublic static java.util.ArrayList<java.util.TimeZone> getDistinctTimeZones()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||