[threeten-dev] java.util and java.sql date-time-calendar
Xueming Shen
xueming.shen at oracle.com
Mon Feb 4 21:28:34 PST 2013
Stephen,
It appears JDBC/SQL exports are fine with the "default zone" and don't
want UTC
versoin. So here is the proposed change for the j.util and j.sql
date/time classes.
The sql valueOf/toLocalDate/Time pair behave just like the
valueOf(String)/toString()
pair now.
http://cr.openjdk.java.net/~sherman/jdk8_threeten/utilsql
It is pointed out that the first sentence in ZDT API is
" A date-time with a time-zone in the ISO-8601 calendar system..." so
the iso 8601
week def setting stays in GC.from(ZDT), with the cost of roundtrip
conversion.
-Sherman
More information about the threeten-dev
mailing list