class Bson.Timestamp
extends LongWithoutOverridesClass
Re-export
import { Bson } from "https://deno.land/x/denomongo_unittest_utils@v0.5.3/deps.ts";
const { Timestamp } = Bson;
Methods
toJSON(): { $timestamp: string; }
[Symbol.for("Deno.customInspect")](): string
Static Methods
fromNumber(value: number): Timestamp
Returns a Timestamp representing the given number value, provided that it is a finite number. Otherwise, zero is returned.
fromString(str: string, optRadix: number): Timestamp
Returns a Timestamp from the given string, optionally using the given radix.