| Constructor and Description |
|---|
CalendarSerializer()
Instantiates a new calendar serializer.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
serialize(Calendar src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
Serializes a Calendar using the Facebook date format (YYYY-MM-DDThh:mm).
|
String |
toString() |
public CalendarSerializer()
public com.google.gson.JsonElement serialize(Calendar src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<Calendar>src - the srctypeOfSrc - the type of srccontext - the contextCopyright © 2017 BotMill. All rights reserved.