MCPcopy Create free account
hub / github.com/NativeScript/firebase / Timestamp

Class Timestamp

packages/firebase-firestore/index.d.ts:451–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451export class Timestamp implements ITimestamp {
452 constructor(seconds: number, nanoseconds: number);
453
454 readonly nanoseconds: number;
455
456 readonly seconds: number;
457
458 static fromDate(date: Date): Timestamp;
459
460 static fromMillis(milliseconds: number): Timestamp;
461
462 static now(): Timestamp;
463
464 isEqual(ts: Timestamp): boolean;
465
466 toDate(): Date;
467
468 toMillis(): number;
469
470 valueOf(): string;
471
472 readonly android: any;
473 readonly ios: any;
474 readonly native: any;
475}
476
477export declare class WriteBatch implements IWriteBatch {
478 commit(): Promise<void>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…