Class: Time
- Defined in:
- lib/ruby-fs-stack/enunciate/identity.rb,
lib/ruby-fs-stack/enunciate/familytree.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#to_jaxb_json_hash ⇒ Object
json time is represented as number of milliseconds since epoch.
Class Method Details
Instance Method Details
#to_jaxb_json_hash ⇒ Object
json time is represented as number of milliseconds since epoch
37 38 39 |
# File 'lib/ruby-fs-stack/enunciate/identity.rb', line 37 def to_jaxb_json_hash return (to_i * 1000) + (usec / 1000) end |