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

Method constructor

packages/firebase-firestore/index.android.ts:1190–1194  ·  view source on GitHub ↗
(seconds: number, nanoseconds: number, native = false)

Source from the content-addressed store, hash-verified

1188 _native: com.google.firebase.Timestamp;
1189
1190 constructor(seconds: number, nanoseconds: number, native = false) {
1191 if (!native) {
1192 this._native = new com.google.firebase.Timestamp(seconds, nanoseconds);
1193 }
1194 }
1195
1196 static fromNative(timestamp: com.google.firebase.Timestamp) {
1197 if (timestamp instanceof com.google.firebase.Timestamp) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected