Package br.com.caelum.vraptor.serialization.iso8601.gson

Examples of br.com.caelum.vraptor.serialization.iso8601.gson.CalendarISO8601Serializer


    assertThat(result, is(equalTo(expectedResult)));
  }

  @Test
  public void shouldSerializeCalendarLikeISO8601() {
    GsonJSONSerialization serialization = serializationWithAdapter(new CalendarISO8601Serializer(new ISO8601Util()));
   
    Client c = new Client("Rafael");
    c.included = new GregorianCalendar(2013, 6, 27, 9, 52, 38);
    c.included.setTimeZone(TimeZone.getTimeZone("America/Sao_Paulo"));
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.serialization.iso8601.gson.CalendarISO8601Serializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.