I noticed there isn't type called object in thrift. thrift can actually pass i64 as timestamp across the wire and define methods that convert i64 to native datetime type in each language.
Meaning thrift can handle serialization/deserialization of timestamp type transparently. --- On Wed, 10/28/09, David Reiss <[email protected]> wrote: > From: David Reiss <[email protected]> > Subject: Re: datetime type in thrift > To: "[email protected]" <[email protected]> > Date: Wednesday, October 28, 2009, 11:29 AM > I would suggest doing something > similar to what Evernote is doing. > (Though if you're using an i64, you might as well use > microseconds.) > > --David > > Ted Yu wrote: > > From my experience working with web services using > SOAP in PHP and Java, datetime handling is a source of big > headache. > > > > Is there plan for thrift to add datetime type support > ? > > > > I see alternative such as: > > http://www.evernote.com/about/developer/api/ref/Types.html#Typedef_Timestamp > > > > Regards > > > > > > >
