@Before
  public void setUp() throws Exception {
    apiDateTime1 = new com.google.api.ads.dfp.jaxws.v201306.DateTime();
    com.google.api.ads.dfp.jaxws.v201306.Date apiDate1 =
        new com.google.api.ads.dfp.jaxws.v201306.Date();
    apiDate1.setYear(2012);
    apiDate1.setMonth(12);
    apiDate1.setDay(2);
    apiDateTime1.setDate(apiDate1);
    apiDateTime1.setHour(12);
    apiDateTime1.setMinute(45);
    apiDateTime1.setSecond(0);
    apiDateTime1.setTimeZoneID(TIME_ZONE_ID1);

    stringDate1 = "2012-12-02";
    stringDateTime1 = "2012-12-02T12:45:00";
    stringDateTimeWithTimeZone1 = "2012-12-02T12:45:00+08:00";

    jodaDateTime1 =
        new DateTime(DateTimeZone.forID(TIME_ZONE_ID1))
            .withYear(2012)
            .withMonthOfYear(12)
            .withDayOfMonth(2)
            .withHourOfDay(12)
            .withMinuteOfHour(45)
            .withSecondOfMinute(0)
            .withMillisOfSecond(0);

    calendar1 = Calendar.getInstance();
    calendar1.clear();
    calendar1.setTimeZone(DateTimeZone.forID(TIME_ZONE_ID1).toTimeZone());
    calendar1.set(2012, 11, 2, 12, 45, 0);

    calendarWithLocale1 = Calendar.getInstance(LOCALE1);
    calendarWithLocale1.clear();
    calendarWithLocale1.setTimeZone(DateTimeZone.forID(TIME_ZONE_ID1).toTimeZone());
    calendarWithLocale1.set(2012, 11, 2, 12, 45, 0);

    apiDateTime2 = new com.google.api.ads.dfp.jaxws.v201306.DateTime();
    com.google.api.ads.dfp.jaxws.v201306.Date apiDate2 =
        new com.google.api.ads.dfp.jaxws.v201306.Date();
    apiDate2.setYear(2004);
    apiDate2.setMonth(2);
    apiDate2.setDay(29);
    apiDateTime2.setDate(apiDate2);
    apiDateTime2.setHour(0);
    apiDateTime2.setMinute(0);
    apiDateTime2.setSecond(0);
    apiDateTime2.setTimeZoneID(TIME_ZONE_ID2);

    stringDate2 = "2004-02-29";
    stringDateTime2 = "2004-02-29T00:00:00";
    stringDateTimeWithTimeZone2 = "2004-02-29T00:00:00-08:00";

    jodaDateTime2 =
        new DateTime(DateTimeZone.forID(TIME_ZONE_ID2))
            .withYear(2004)
            .withMonthOfYear(2)
            .withDayOfMonth(29)
            .withHourOfDay(0)
            .withMinuteOfHour(0)
            .withSecondOfMinute(0)
            .withMillisOfSecond(0);

    calendar2 = Calendar.getInstance();
    calendar2.clear();
    calendar2.setTimeZone(DateTimeZone.forID(TIME_ZONE_ID2).toTimeZone());
    calendar2.set(2004, 1, 29, 0, 0, 0);

    calendarWithLocale2 = Calendar.getInstance(LOCALE2);
    calendarWithLocale2.clear();
    calendarWithLocale2.setTimeZone(DateTimeZone.forID(TIME_ZONE_ID2).toTimeZone());
    calendarWithLocale2.set(2004, 1, 29, 0, 0, 0);

    apiDateTime3 = new com.google.api.ads.dfp.jaxws.v201306.DateTime();
    com.google.api.ads.dfp.jaxws.v201306.Date apiDate3 =
        new com.google.api.ads.dfp.jaxws.v201306.Date();
    apiDate3.setYear(2007);
    apiDate3.setMonth(1);
    apiDate3.setDay(1);
    apiDateTime3.setDate(apiDate3);
    apiDateTime3.setHour(18);
    apiDateTime3.setMinute(0);
    apiDateTime3.setSecond(30);
    apiDateTime3.setTimeZoneID(TIME_ZONE_ID3);

    stringDate3 = "2007-01-01";
    stringDateTime3 = "2007-01-01T18:00:30";
    stringDateTimeWithTimeZone3 = "2007-01-01T18:00:30Z";

    jodaDateTime3 =
        new DateTime(DateTimeZone.forID(TIME_ZONE_ID3))
            .withYear(2007)
            .withMonthOfYear(1)
            .withDayOfMonth(1)
            .withHourOfDay(18)
            .withMinuteOfHour(0)
            .withSecondOfMinute(30)
            .withMillisOfSecond(0);

    calendar3 = Calendar.getInstance();
    calendar3.clear();
    calendar3.setTimeZone(DateTimeZone.forID(TIME_ZONE_ID3).toTimeZone());
    calendar3.set(2007, 0, 1, 18, 0, 30);

    calendarWithLocale3 = Calendar.getInstance(LOCALE3);
    calendarWithLocale3.clear();
    calendarWithLocale3.setTimeZone(DateTimeZone.forID(TIME_ZONE_ID3).toTimeZone());
    calendarWithLocale3.set(2007, 0, 1, 18, 0, 30);
  }