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

Method fromNative

packages/firebase-firestore/index.android.ts:1196–1203  ·  view source on GitHub ↗
(timestamp: com.google.firebase.Timestamp)

Source from the content-addressed store, hash-verified

1194 }
1195
1196 static fromNative(timestamp: com.google.firebase.Timestamp) {
1197 if (timestamp instanceof com.google.firebase.Timestamp) {
1198 const ts = new Timestamp(0, 0, true);
1199 ts._native = timestamp;
1200 return ts;
1201 }
1202 return null;
1203 }
1204
1205 static _dateFormat: java.text.SimpleDateFormat;
1206

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected