import { Timestamp } from "https://deno.land/x/aether@v0.0.3/deps.ts";
Methods
toExtendedJSON(): TimestampExtended
toJSON(): { $timestamp: string; }
[Symbol.for("Deno.customInspect")](): string
Static Methods
fromExtendedJSON(doc: TimestampExtended): Timestamp
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.