btw, good catch on asking what happens with Calendar instances,
because they're being encoded as:

"datetime_col":"java.util.GregorianCalendar[time=1317445261000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id=\"GMT\",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2011,MONTH=9,WEEK_OF_YEAR=40,WEEK_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR=274,DAY_OF_WEEK=7,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=5,HOUR_OF_DAY=5,MINUTE=1,SECOND=1,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0]"




On Wed, Oct 26, 2011 at 3:41 PM, Gabriel Roldan <[email protected]> wrote:
> On Wed, Oct 26, 2011 at 3:29 PM, Gabriel Roldan <[email protected]> wrote:
>>> Uh, and maybe another observation too. Ian started a thread about timezones
>>> some
>>> time ago, what happens timezone wise with this patch?
> Forgot to properly answer this question: as far as this patch is
> concerned, whether time zone handling has been properly made is not
> this patch'es issue. That is, any piece of code creating a
> java.util.Date, java.sql.Date/Time/Timestamp shall have taken care of
> that before the Date/Time object instance reaches the encoder. And it
> does that by taking into account the internal representation of ?
> extends java.util.Date is always in GMT.
>
> Cheers,
> Gabriel
>
>
> --
> Gabriel Roldan
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to