module Thrift::Types::Known::Timestamp

Public Class Methods

from_time(v) click to toggle source
   # File lib/thrift/types/known/timestamp.rb
 8 def from_time(v)
 9   Timestamp.from_time(v)
10 end
now() click to toggle source
   # File lib/thrift/types/known/timestamp.rb
12 def now
13   from_time(Time.now)
14 end