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

Method constructor

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

Source from the content-addressed store, hash-verified

1061 _native: FIRTimestamp;
1062
1063 constructor(seconds: number, nanoseconds: number, native = false) {
1064 if (!native) {
1065 this._native = FIRTimestamp.timestampWithSecondsNanoseconds(seconds, nanoseconds);
1066 }
1067 }
1068
1069 static fromNative(timestamp: FIRTimestamp) {
1070 if (timestamp instanceof FIRTimestamp) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected