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

Method fromMillis

packages/firebase-firestore/index.android.ts:1224–1228  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

1222 }
1223
1224 static fromMillis(milliseconds: number) {
1225 const ts = new Timestamp(0, 0, true);
1226 ts._native = new com.google.firebase.Timestamp(milliseconds / 1000, 0);
1227 return ts;
1228 }
1229
1230 static now() {
1231 const ts = new Timestamp(0, 0, true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected