Method: Google::Protobuf::Duration#seconds

Defined in:
proto_docs/google/protobuf/duration.rb

#seconds::Integer

Returns Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years.

Returns:

  • (::Integer)

    Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

[View source]

93
94
95
96
# File 'proto_docs/google/protobuf/duration.rb', line 93

class Duration
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end