class Bson.Timestamp
extends LongWithoutOverridesClass
import { Bson } from "https://deno.land/x/exodus@0.1.8/deps.ts";
const { Timestamp } = Bson;
Constructors
new
Timestamp(low: Long)Static Properties
readonly
MAX_VALUE: LongStatic 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.