jervi:

You would need to encode your URL by using URLEncoder.

When encoding a String, special characters such as "-", "_" and "*"
will remain the same, "+" will be converted into bytes using encoding
scheme.  The "+" sign, without encoding actually means space
character.

These would explain why start-min=2007-02-12T00:00:00-01:00 works but
start-min=2007-02-12T00:00:00+01:00 doesn't work.

Hope this helps.

-Vivian

On Feb 16, 8:05 pm, "jervi" <[EMAIL PROTECTED]> wrote:
> I'm using the Java GData with Google Calendar, and I'm having trouble
> sending some parameters in the RFC 3339 date format.
> When using the following parameters, everything works great:
> start-min=2007-02-12T00:00:00-01:00&start-
> max=2007-02-19T00:00:00-01:00
> However, when I'm changing the time zone to GMT+1, like this:
> start-min=2007-02-12T00:00:00+01:00&start-
> max=2007-02-19T00:00:00+01:00
> I get the following error message:
>
> com.google.gdata.util.InvalidEntryException: Bad Request
> Invalid parameter value: start-min=2007-02-12T00:00:00 01:00.
>
>         at
> com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(Unknown
> Source)
>
> (...)
>
> Am I doing something wrong, or is this a bug?
>
> --- Jørgen Jervidalo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to