Represents a BSON Timestamp type in Firestore documents.

BsonTimestamp

**Signature:**

    export declare class BsonTimestamp 

## Constructors

| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(seconds, increment)](https://firebase.google.com/docs/reference/js/firestore.bsontimestamp#bsontimestampconstructor) |   | Constructs a new instance of the `BsonTimestamp` class |

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [increment](https://firebase.google.com/docs/reference/js/firestore.bsontimestamp#bsontimestampincrement) |   | number |   |
| [seconds](https://firebase.google.com/docs/reference/js/firestore.bsontimestamp#bsontimestampseconds) |   | number |   |

## Methods

| Method | Modifiers | Description |
|---|---|---|
| [isEqual(other)](https://firebase.google.com/docs/reference/js/firestore.bsontimestamp#bsontimestampisequal) |   | Returns true if this `BsonTimestamp` is equal to the provided one. |

## BsonTimestamp.(constructor)

Constructs a new instance of the `BsonTimestamp` class

**Signature:**

    constructor(seconds: number, increment: number);

#### Parameters

| Parameter | Type | Description |
|---|---|---|
| seconds | number |   |
| increment | number |   |

## BsonTimestamp.increment

**Signature:**

    readonly increment: number;

## BsonTimestamp.seconds

**Signature:**

    readonly seconds: number;

## BsonTimestamp.isEqual()

Returns true if this `BsonTimestamp` is equal to the provided one.

**Signature:**

    isEqual(other: BsonTimestamp): boolean;

#### Parameters

| Parameter | Type | Description |
|---|---|---|
| other | [BsonTimestamp](https://firebase.google.com/docs/reference/js/firestore.bsontimestamp#bsontimestamp_class) | The `BsonTimestamp` to compare against. 'true' if this `BsonTimestamp` is equal to the provided one. |

**Returns:**

boolean