Added the money stuff from last meeting + datetime

Aliases for DateTime did not simplify, so I'm suggesting: 

record DateTimeIso8601 { 
    union { string, double } value;
  }
+1 to long - I think it's good to put Utc as a reminder

On Wed, Nov 26, 2014 at 3:24 PM, Yonatan Feldman <notifications@github.com>
wrote:

> In events.avdl:
>
> > +    double rate;
> > +  }
> > +
> > +  record Money {
> > +      LocalizedMoney local;
> > +      ConversionRate rate;
> > +      LocalizedMoney gilt;
> > +  }
> > +
> > +  /** For date times, two recommendations
> > +   * 1. preferred: Send a string in iso8601 format
> > +   * 2. if you need an optimized format, name your field <name>Utc
> > +   *    and send as a double
> > +   */
> > +  record DateTimeIso8601 {
> > +    union { string, double } value;
>
> Shouldn't the non-string format be a long?
>
> Also, it's a bit cumbersome to have to create a record for each timestamp,
> I thought we discussed just having naming conventions:
>
> "long eventTsUtc" or "string eventTsIso8601"
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/gilt/events-gfc-avro/pull/3/files#r20961898>.
>