[protobuf] Re: Regd: How do I represent java.util.Date in my .proto definition?

2009-11-11 Thread Jon Skeet
A java.util.Date doesn't contain a timezone anyway - it's always UTC. I've previous suggested (but made no progress on) a set of "common" protocol buffer messages which could be used for various products, with helper libraries for popular platforms providing conversions between the messages and m

[protobuf] Re: Regd: How do I represent java.util.Date in my .proto definition?

2009-11-10 Thread Dan
I use a dateFormatter to send it as a string. I suppose its also possible to send it as a int64 if you want. Just be wary of timezones. Dan On Nov 10, 3:25 pm, rahul prasad wrote: > How do I represent java.util.Date in my .proto definition? Is this > supported, or any other workaround for doi