Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Timestamp

Wrapper for firestore server timestamp, mainly used to keep imports clean when using the library.

Hierarchy

  • Timestamp

Implements

Index

Constructors

constructor

  • new Timestamp(seconds: number, nanoseconds: number): Timestamp

Properties

Private _native

_native: Timestamp

Accessors

nanoseconds

  • get nanoseconds(): number

native

  • get native(): Timestamp

seconds

  • get seconds(): number

Methods

isEqual

toDate

  • toDate(): Date

toMillis

  • toMillis(): number

Static fromDate

Static fromMillis

Generated using TypeDoc