# File lib/aws/simple_workflow/workflow_execution_collection.rb, line 607 def to_timestamp time case time when Integer then time when Time then time.to_i else Time.parse(time.to_s).to_i end end