Class: Google::Type::Interval

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/type/interval.rb

Overview

Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).

The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp

Returns Optional. Exclusive end of the interval.

If specified, a Timestamp matching this interval will have to be before the end.

Returns:

  • (::Google::Protobuf::Timestamp)

    Optional. Exclusive end of the interval.

    If specified, a Timestamp matching this interval will have to be before the end.



40
41
42
43
# File 'proto_docs/google/type/interval.rb', line 40

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

#start_time::Google::Protobuf::Timestamp

Returns Optional. Inclusive start of the interval.

If specified, a Timestamp matching this interval will have to be the same or after the start.

Returns:

  • (::Google::Protobuf::Timestamp)

    Optional. Inclusive start of the interval.

    If specified, a Timestamp matching this interval will have to be the same or after the start.



40
41
42
43
# File 'proto_docs/google/type/interval.rb', line 40

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