FIRBSONTimestamp
@interface FIRBSONTimestamp : NSObject <NSCopying>Represents a BSON timestamp type in Firestore documents.
-
The underlying unsigned 32-bit integer for seconds
Declaration
Objective-C
@property (nonatomic, readonly) uint32_t seconds; -
The underlying unsigned 32-bit integer for increment
Declaration
Objective-C
@property (nonatomic, readonly) uint32_t increment; -
Creates a
BSONTimestampwith the given seconds and increment values.Declaration
Objective-C
- (nonnull instancetype)initWithSeconds:(uint32_t)seconds increment:(uint32_t)increment;Parameters
secondsThe underlying unsigned 32-bit integer for seconds.
incrementThe underlying unsigned 32-bit integer for increment.
-
Returns true if the given object is equal to this, and false otherwise.
Declaration
Objective-C
- (BOOL)isEqual:(nullable id)object;