Обсуждение: Patch to extend the tests for setObject with Date/Time/Timezone

Поиск
Список
Период
Сортировка

Patch to extend the tests for setObject with Date/Time/Timezone

От
Kim Ho
Дата:
Is attached.

Added with this patch:
In Date test:
 - Tests for setObject(1, x, java.sql.Types.DATE)
where x can be a java.sql.Date, java.sql.Timestamp, or String

In Time test:
 - Tests for setObject(1, x, java.sql.Types.TIME)
where x can be a java.sql.Time, java.sql.Timestamp, or String

In Timestamp test:
 - Tests for setObject(1, x, java.sql.Types.TIMESTAMP)
where x can be a java.sql.Timestamp, java.sql.Date, java.sql.Time, or
String

*by String, I mean a string with and without timezones. Except in
timestamp test, where the timezone tests are separated explicitly.

Comments/suggestions welcome.

Cheers,

Kim

Вложения