ebay api retruns the timestamp as <Timestamp>2014-11-13T06:31:38.258Z</Timestamp>
which has to be parsed to java.util.Date, I could come with the following yyyy-MM-dd'T'HH:mm:ss.sssZ
but th result of which is the timezone 2014-11-13T02:03:23.023-0500
trying to format in result freemarker with the below line of code
<#assign readddate =
objectConstructor("java.text.SimpleDateFormat","yyyy-MM-dd'T'HH:mm:ss.sssZ")>
results in
[12:41:03 PM] Somasundaram: Caused by: java.text.ParseException:
Unparseable date: "2014-11-11T05:28:45.000Z"