The published datetime in the Entry was deffrent after calling
GoogleService#insert

Hi,
I encountered the following problem while implemented a Java Client
Application using the Google Blogger API.

---------------------------------
PostEntry entry = new PostEntry();
entry.setPublished( new DateTime( new Date(), TimeZone.getTimeZone
( "Asia/Tokyo" ) ) );
entry.setTitle( new PlainTextConstruct( "title" ) );
entry.setContent( new PlainTextConstruct( "content" ) );

PostEntry inserted  = service.insert( new URL( "http://www.blogger.com/
feeds/" + blogId + "/posts/default" ), entry );

System.out.println( entry.getPublished().toString() ); ===>
2009-06-08T14:42:58.745+09:00
System.out.println( inserted.getPublished().toString()  ); ===>
2009-06-08T14:42:00.000+09:00
---------------------------------

I think that "entry.getPublished().toString()" should be equal to
"inserted.getPublished().toString()".

Am I doing something wrong?.

Admin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data Protocol" 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