package com.xeiam.xchange.cryptsy;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;

/**
 * @author ObsessiveOrange
 */
public final class CryptsyUtils {

  private static SimpleDateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

  /**
   * private Constructor
   */
  private CryptsyUtils() {

  }

  public static Date convertDateTime(String dateTime) throws ParseException {

    dateFormatter.setTimeZone(TimeZone.getTimeZone("EST"));

    return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").parse(dateTime);
  }

}

@@ -222,110 +222,14 @@
  %7B%0A%0A
-  private static SimpleDateFormat dateFormatter = new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss%22);%0A%0A
   /**%0A
+
    *
@@ -367,16 +367,98 @@
 tion %7B%0A%0A
+    SimpleDateFormat dateFormatter = new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss%22);%0A
     date
@@ -505,17 +505,23 @@
 ne(%22
-EST
+US/Eastern
 %22));%0A
-%0A
     
@@ -531,51 +531,21 @@
 urn 
-new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss%22)
+dateFormatter
 .par

Convert dateTime to UTC. As used for trade times. The other exchange implementations I've looked at return UTC times.