 }
 
 struct ConversionHelper {
-
+    
     /**
      Try to convert an Any value to a NSDate object
-
+     
      Try to convert the input to a String, Int or Double and call the corresponding date creator
-
+     
      - parameter dateObj: Any representing a date in either String or Timestamp
-
+     
      - returns: NSDate object corresponding to input
      */
     static func dateFromAny(_ dateObj: Any?) -> Date? {

        if let intVal = dateObj as? Int { return helper.dateFromLong(intVal) }
        return nil
    }

    /**
     Convert an NSDate object to a string representing a date in ISO 8601 format (default)
     

        if let intVal = Int(inputString) { return dateFromLong(intVal) }
        return nil
    }
    
    private func dateFromDouble(_ timestamp: Double?) -> Date? {
        guard let timestamp = timestamp else {
            return nil
        }
        return Date(timeIntervalSince1970: (timestamp/1000.0))
    }
    
    private func dateFromLong(_ timestamp: Int?) -> Date? {
        guard let timestamp = timestamp else {
            return nil
