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 more idiomatic types (e.g. Date on Java,
DateTime/DateTimeOffset on .NET).


On Nov 11, 12:44 am, Dan <lozi...@gmail.com> wrote:
> 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 <rahu...@gmail.com> wrote:
> > How do I represent java.util.Date in my .proto definition? Is this
> > supported, or any other workaround for doing this?
> > Regards,
> > Rahul Prasad
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to