@Deprecated public String toISO8601(Date date){
  DateFormat df=new SimpleDateFormat(ISO8601);
  df.setTimeZone(TimeZone.getTimeZone("UTC"));
  String formatted=df.format(date);
  return formatted;
}

@ Deprecated public String toISO8601 ( Date date ) { DateFormat df = new SimpleDateFormat ( ISO8601 ) ; df . setTimeZone ( TimeZone . getTimeZone ( "UTC" ) ) ; String formatted = df . format ( date ) ; return formatted ; }
convert date to iso 8601 string .
